]> Zhao Yanbai Git Server - minix.git/commit
Import librefuse and libpuffs
authorThomas Veerman <thomas@minix3.org>
Mon, 14 Nov 2011 11:53:05 +0000 (11:53 +0000)
committerThomas Veerman <thomas@minix3.org>
Mon, 14 Nov 2011 11:53:05 +0000 (11:53 +0000)
commit490e0de5481bce02ba3d268b472a024f76d2416b
tree9dcbd253cb532af790de7f60295a45596afffa38
parenta209c3ae1296f9263ca6488a85fe5b405cfc4f7c
Import librefuse and libpuffs

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).
54 files changed:
commands/mount/mount.c
include/unistd.h
lib/Makefile
lib/libc/other/_mount.c
lib/libc/posix/pread.c
lib/libc/posix/pwrite.c
lib/libpuffs/Makefile [new file with mode: 0644]
lib/libpuffs/callcontext.c [new file with mode: 0644]
lib/libpuffs/creds.c [new file with mode: 0644]
lib/libpuffs/device.c [new file with mode: 0644]
lib/libpuffs/drivers.h [new file with mode: 0644]
lib/libpuffs/fs.h [new file with mode: 0644]
lib/libpuffs/glo.h [new file with mode: 0644]
lib/libpuffs/inode.c [new file with mode: 0644]
lib/libpuffs/link.c [new file with mode: 0644]
lib/libpuffs/misc.c [new file with mode: 0644]
lib/libpuffs/mntopts.h [new file with mode: 0644]
lib/libpuffs/mount.c [new file with mode: 0644]
lib/libpuffs/null.c [new file with mode: 0644]
lib/libpuffs/open.c [new file with mode: 0644]
lib/libpuffs/path.c [new file with mode: 0644]
lib/libpuffs/path_puffs.c [new file with mode: 0644]
lib/libpuffs/pnode.c [new file with mode: 0644]
lib/libpuffs/protect.c [new file with mode: 0644]
lib/libpuffs/proto.h [new file with mode: 0644]
lib/libpuffs/puffs.3 [new file with mode: 0644]
lib/libpuffs/puffs.c [new file with mode: 0644]
lib/libpuffs/puffs.h [new file with mode: 0644]
lib/libpuffs/puffs_cc.3 [new file with mode: 0644]
lib/libpuffs/puffs_cred.3 [new file with mode: 0644]
lib/libpuffs/puffs_msgif.h [new file with mode: 0644]
lib/libpuffs/puffs_node.3 [new file with mode: 0644]
lib/libpuffs/puffs_ops.3 [new file with mode: 0644]
lib/libpuffs/puffs_path.3 [new file with mode: 0644]
lib/libpuffs/puffs_priv.h [new file with mode: 0644]
lib/libpuffs/read.c [new file with mode: 0644]
lib/libpuffs/stadir.c [new file with mode: 0644]
lib/libpuffs/subr.c [new file with mode: 0644]
lib/libpuffs/table.c [new file with mode: 0644]
lib/libpuffs/time.c [new file with mode: 0644]
lib/libpuffs/utility.c [new file with mode: 0644]
lib/librefuse/Makefile [new file with mode: 0644]
lib/librefuse/TODO [new file with mode: 0644]
lib/librefuse/fuse.h [new file with mode: 0644]
lib/librefuse/fuse_opt.h [new file with mode: 0644]
lib/librefuse/refuse.3 [new file with mode: 0644]
lib/librefuse/refuse.c [new file with mode: 0644]
lib/librefuse/refuse_opt.c [new file with mode: 0644]
lib/librefuse/shlib_version [new file with mode: 0644]
lib/nbsd_libc/sys-minix/mount.c
lib/nbsd_libc/sys-minix/pread.c
lib/nbsd_libc/sys-minix/pwrite.c
nbsd_include/sys/ucred.h
nbsd_include/unistd.h