freebsd-skq/sbin/mount
rodrigc bfed6ac3d6 Add a -o mountprog parameter to mount which explicitly allows
an alternative program to be used for mounting a file system.
Ideally, all file systems
should be converted to pass string arguments to nmount(), so that
/sbin/mount can handle them.  However, certain file systems such as FUSE have
not done this, and want to have their own userland mount programs.

For example, to mount an NTFS file system with the FUSE NTFS driver:

mount -t ntfs -o mountprog=/usr/local/bin/ntfs-3g /dev/acd0 /mnt

or via an fstab entry:

/dev/acd0  /mnt  ntfs    ro,noauto,mountprog=/usr/local/bin/ntfs-3g       0       0

PR:	120784
Requested by: Dominic Fandrey
2009-03-05 08:57:35 +00:00
..
extern.h
getmntopts.3
getmntopts.c style(9) 2008-12-26 22:55:38 +00:00
Makefile
mntopts.h
mount_fs.c Be a little bit more pestimistic in argument handling - check if we've 2008-12-18 18:44:46 +00:00
mount.8 Add a -o mountprog parameter to mount which explicitly allows 2009-03-05 08:57:35 +00:00
mount.c Add a -o mountprog parameter to mount which explicitly allows 2009-03-05 08:57:35 +00:00
pathnames.h
vfslist.c