diff options
author | mdodd <mdodd@FreeBSD.org> | 2003-04-07 12:56:01 +0000 |
---|---|---|
committer | mdodd <mdodd@FreeBSD.org> | 2003-04-07 12:56:01 +0000 |
commit | 3b255b5f8c5935f760a0f92a2444e71b568f1eb8 (patch) | |
tree | 39443648f1c42fa412f55e21465bddccde82880e /sbin/mount/mount.8 | |
parent | 7c43f96140c9e0208ae1f650102cab1a120e7295 (diff) | |
download | FreeBSD-src-3b255b5f8c5935f760a0f92a2444e71b568f1eb8.zip FreeBSD-src-3b255b5f8c5935f760a0f92a2444e71b568f1eb8.tar.gz |
Implement the '-F' option for mount & umount which allows the user to
specify an alternate fstab file.
Diffstat (limited to 'sbin/mount/mount.8')
-rw-r--r-- | sbin/mount/mount.8 | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/sbin/mount/mount.8 b/sbin/mount/mount.8 index b1ae841..741904b 100644 --- a/sbin/mount/mount.8 +++ b/sbin/mount/mount.8 @@ -41,6 +41,7 @@ .Sh SYNOPSIS .Nm .Op Fl adfpruvw +.Op Fl F Ar fstab .Op Fl t Ar ufs | external_type .Nm .Op Fl dfpruvw @@ -93,6 +94,10 @@ flag to determine what the .Nm command is trying to do. +.It Fl F Ar fstab +Specify the +.Pa fstab +file to use. .It Fl f Forces the revocation of write access when trying to downgrade a file system mount status from read-write to read-only. @@ -406,6 +411,13 @@ Note that support for a particular file system might be provided either on a static (kernel compile-time), or dynamic basis (loaded as a kernel module by .Xr kldload 8 ) . +.Sh ENVIRONMENT +.Bl -tag -width PATH_FSTAB +.It Pa PATH_FSTAB +If the environment variable +.Pa PATH_FSTAB +is set all operations are performed against the specified file. +.El .Sh FILES .Bl -tag -width /etc/fstab -compact .It Pa /etc/fstab |