Import libpuffs and our port of libpuffs. The port was done as part of GSoC 2011 FUSE project, done by Evgeniy Ivanov. The librefuse import did not require any porting efforts. Libpuffs has been modified to understand our VFS-FS protocol and translate between that and PUFFS. As an example that it works, fuse-ntfs-3g from pkgsrc can be compiled and used to mount ntfs partitions: mount -t ntfs-3g <device> <mountpoint> FUSE only works with the asynchronous version of VFS. See <docs/UPDATING> on how to run AVFS. This patch further includes some changes to mount(1) and mount(2) so it's possible to use file systems provided by pkgsrc (note: manual modifications to /etc/system.conf are still needed. There has been made an exception for fuse-ntfs-3g, so it already as an entry).
13 lines
317 B
C
13 lines
317 B
C
#ifndef _MNTOPTS_H_
|
|
#define _MNTOPTS_H_
|
|
|
|
struct mntopt {
|
|
const char *m_option; /* option name */
|
|
int m_inverse; /* if a negative option, eg "dev" */
|
|
int m_flag; /* bit to set, eg. MNT_RDONLY */
|
|
int m_altloc; /* 1 => set bit in altflags */
|
|
};
|
|
|
|
|
|
|
|
#endif
|