1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-14 10:09:48 +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 Remove UFS-specific parts from mount(8). 2005-11-23 23:22:56 +00:00
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 Remove unsupported "dev" option from comments of mntopts.h. 2005-12-02 03:55:02 +00:00
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 Remove advertising clause from University of California Regent's license, 2004-04-09 19:58:40 +00:00
vfslist.c Remove advertising clause from University of California Regent's license, 2004-04-09 19:58:40 +00:00