aboutsummaryrefslogtreecommitdiff
path: root/sbin/mdmfs/mdmfs.8
diff options
context:
space:
mode:
authorIan Dowse <iedowse@FreeBSD.org>2001-09-30 15:14:16 +0000
committerIan Dowse <iedowse@FreeBSD.org>2001-09-30 15:14:16 +0000
commit2dc4ac06cee1b4d9837d0d3db54c4b874809f7e6 (patch)
tree39a3673a2dc41cf8b6ace20096bddfc1ddf1e8ff /sbin/mdmfs/mdmfs.8
parent47f07d95baf5eb2a5a9e53f1614532cca566f79d (diff)
downloadsrc-2dc4ac06cee1b4d9837d0d3db54c4b874809f7e6.tar.gz
src-2dc4ac06cee1b4d9837d0d3db54c4b874809f7e6.zip
Enable bug-for-bug compatibility with mount_mfs when the program
name is "mount_mfs" or "mfs". Previously, the condition was that the program name must start with "mount_", but this both missed the case where mount(8) invokes mdmfs with argv[0] = "mfs", and it included cases such as "mount_md" where compatibility is not required. Reviewed by: dd
Notes
Notes: svn path=/head/; revision=84167
Diffstat (limited to 'sbin/mdmfs/mdmfs.8')
-rw-r--r--sbin/mdmfs/mdmfs.87
1 files changed, 4 insertions, 3 deletions
diff --git a/sbin/mdmfs/mdmfs.8 b/sbin/mdmfs/mdmfs.8
index 9fb7eb361a06..bb233a412b3b 100644
--- a/sbin/mdmfs/mdmfs.8
+++ b/sbin/mdmfs/mdmfs.8
@@ -304,9 +304,10 @@ Full compatibility is enabled with the
flag,
or by starting
.Nm
-with
-.Li mount_
-at the beginning of its name
+with the name
+.Li mount_mfs
+or
+.Li mfs
(as returned by
.Xr getprogname 3 ) .
In this mode, only the options which would be accepted by