summaryrefslogtreecommitdiffstats
path: root/sbin/mdmfs/mdmfs.8
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2006-11-03 12:02:24 +0000
committerru <ru@FreeBSD.org>2006-11-03 12:02:24 +0000
commitd23275fe7d190eab56c82bf462ecb67346e58ab3 (patch)
tree456b7fc1c673cd53fde90ad1cc513fb78e6002f2 /sbin/mdmfs/mdmfs.8
parentbac59c3a27ebec7c9594a2835e8991984f853c30 (diff)
downloadFreeBSD-src-d23275fe7d190eab56c82bf462ecb67346e58ab3.zip
FreeBSD-src-d23275fe7d190eab56c82bf462ecb67346e58ab3.tar.gz
Remove the -C option as it does more harm than good. To be fully
compatible, it would have to (at least): - support the "compat-compat" -T option, - *not* support the -l, -O, and -v options, - default to soft updates being disabled. Worse, the compatibility mode makes it impossible to mount_mfs(8) a file system from fstab(5) with soft updates disabled (-S). [1] Now, the only difference when called as "mount_mfs" or "mfs" (as opposed to "mdmfs") is that the file mode of the mount point is set by default to 01777. All options available to mdmfs(8) are also available to mount_mfs(8); the -C option is still recognized but ignored for backward compatibility. PR: bin/98860 [1] MFC after: 2 weeks
Diffstat (limited to 'sbin/mdmfs/mdmfs.8')
-rw-r--r--sbin/mdmfs/mdmfs.846
1 files changed, 7 insertions, 39 deletions
diff --git a/sbin/mdmfs/mdmfs.8 b/sbin/mdmfs/mdmfs.8
index 50d749a..1259309 100644
--- a/sbin/mdmfs/mdmfs.8
+++ b/sbin/mdmfs/mdmfs.8
@@ -25,7 +25,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd October 1, 2006
+.Dd November 3, 2006
.Dt MDMFS 8
.Os
.Sh NAME
@@ -56,26 +56,6 @@ driver
.Op Fl w Ar user : Ns Ar group
.Ar md-device
.Ar mount-point
-.Nm
-.Fl C
-.Op Fl lNU
-.Op Fl a Ar maxcontig
-.Op Fl b Ar block-size
-.Op Fl c Ar cylinders
-.Op Fl d Ar rotdelay
-.Op Fl E Ar path-mdconfig
-.Op Fl e Ar maxbpg
-.Op Fl F Ar file
-.Op Fl f Ar frag-size
-.Op Fl i Ar bytes
-.Op Fl m Ar percent-free
-.Op Fl n Ar rotational-positions
-.Op Fl O Ar optimization
-.Op Fl o Ar mount-options
-.Op Fl s Ar size
-.Op Fl v Ar version
-.Ar md-device
-.Ar mount-point
.Sh DESCRIPTION
The
.Nm
@@ -134,12 +114,6 @@ out before forcing a rotational delay
option).
.It Fl b Ar block-size
The block size of the file system, in bytes.
-.It Fl C
-Enable full compatibility mode with
-.Xr mount_mfs 8 .
-See the
-.Sx COMPATIBILITY
-section for more information.
.It Fl c Ar cylinders
The number of cylinders per cylinder group in the file system.
.It Fl D
@@ -250,7 +224,7 @@ backed disks
.Pq Dv MD_MALLOC .
.It Fl U
Enable soft-updates on the file system.
-This is the default, even in compatibility mode, and is accepted only
+This is the default, and is accepted only
for compatibility.
It is only really useful to negate the
.Fl S
@@ -337,19 +311,16 @@ do not use soft-updates on it and mount it
.Sh COMPATIBILITY
The
.Nm
-utility, while designed to be fully compatible with
+utility, while designed to be compatible with
.Xr mount_mfs 8 ,
can be useful by itself.
Since
.Xr mount_mfs 8
had some silly defaults, a
-.Dq full compatibility
+.Dq compatibility
mode is provided for the case where bug-to-bug compatibility is desired.
.Pp
-Full compatibility is enabled with the
-.Fl C
-flag,
-or by starting
+Compatibility is enabled by starting
.Nm
with the name
.Li mount_mfs
@@ -357,17 +328,14 @@ or
.Li mfs
(as returned by
.Xr getprogname 3 ) .
-In this mode, only the options which would be accepted by
-.Xr mount_mfs 8
-are valid.
-Furthermore, the following behavior, as done by
+In this mode, the following behavior, as done by
.Xr mount_mfs 8 ,
is duplicated:
.Bl -bullet -offset indent
.It
The file mode of
.Ar mount-point
-is set to
+is set by default to
.Li 01777
as if
.Fl p Ar 1777
OpenPOWER on IntegriCloud