1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-13 10:02:38 +00:00
freebsd/sbin/mount
Craig Rodrigues c783576970 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 Correct the description of getmnt_silent: unknown options are silently 2008-02-17 20:25:25 +00:00
getmntopts.c style(9) 2008-12-26 22:55:38 +00:00
Makefile Use pidfile(3) API to restart mountd(8) on success mount. 2007-02-02 23:58:10 +00:00
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