Changeset View
Changeset View
Standalone View
Standalone View
sbin/mdmfs/mdmfs.8
Show First 20 Lines • Show All 56 Lines • ▼ Show 20 Lines | |||||
.Op Fl v Ar version | .Op Fl v Ar version | ||||
.Op Fl w Ar user : Ns Ar group | .Op Fl w Ar user : Ns Ar group | ||||
.Ar md-device | .Ar md-device | ||||
.Ar mount-point | .Ar mount-point | ||||
.Sh DESCRIPTION | .Sh DESCRIPTION | ||||
The | The | ||||
.Nm | .Nm | ||||
utility is designed to be a work-alike and look-alike of the deprecated | utility is designed to be a work-alike and look-alike of the deprecated | ||||
.Xr mount_mfs 8 . | .Nm mount_mfs . | ||||
The end result is essentially the same, | The end result is essentially the same, | ||||
but is accomplished in a completely different way. | but is accomplished in a completely different way. | ||||
Based on | Based on | ||||
.Ar md-device , | .Ar md-device , | ||||
the | the | ||||
.Nm | .Nm | ||||
utility either creates a | utility either creates a | ||||
.Xr tmpfs 5 | .Xr tmpfs 5 | ||||
filesystem, or it configures an | filesystem, or it configures an | ||||
.Xr md 4 | .Xr md 4 | ||||
disk using | disk using | ||||
.Xr mdconfig 8 , | .Xr mdconfig 8 , | ||||
puts a UFS file system on it (unless | puts a UFS file system on it (unless | ||||
.Fl P | .Fl P | ||||
was specified) using | was specified) using | ||||
▲ Show 20 Lines • Show All 64 Lines • ▼ Show 20 Lines | |||||
.Xr md 4 Ns 's | .Xr md 4 Ns 's | ||||
auto-unit feature to automatically select an unused device. | auto-unit feature to automatically select an unused device. | ||||
Unless otherwise specified with one of the options below, | Unless otherwise specified with one of the options below, | ||||
it uses the default arguments to all the helper programs. | it uses the default arguments to all the helper programs. | ||||
.Pp | .Pp | ||||
The following options are available. | The following options are available. | ||||
Where possible, | Where possible, | ||||
the option letter matches the one used by | the option letter matches the one used by | ||||
.Xr mount_mfs 8 | .Nm mount_mfs | ||||
for the same thing. | for the same thing. | ||||
.Bl -tag -width indent | .Bl -tag -width indent | ||||
.It Fl a Ar maxcontig | .It Fl a Ar maxcontig | ||||
Specify the maximum number of contiguous blocks that will be laid | Specify the maximum number of contiguous blocks that will be laid | ||||
out before forcing a rotational delay | out before forcing a rotational delay | ||||
(see the | (see the | ||||
.Fl d | .Fl d | ||||
option). | option). | ||||
▲ Show 20 Lines • Show All 233 Lines • ▼ Show 20 Lines | |||||
.Pp | .Pp | ||||
Mount a vnode-backed cd9660 file system using automatic device numbering: | Mount a vnode-backed cd9660 file system using automatic device numbering: | ||||
.Pp | .Pp | ||||
.Dl "mdmfs -T cd9660 -P -F foo.iso md /tmp" | .Dl "mdmfs -T cd9660 -P -F foo.iso md /tmp" | ||||
.Sh COMPATIBILITY | .Sh COMPATIBILITY | ||||
The | The | ||||
.Nm | .Nm | ||||
utility, while designed to be compatible with | utility, while designed to be compatible with | ||||
.Xr mount_mfs 8 , | .Nm mount_mfs , | ||||
can be useful by itself. | can be useful by itself. | ||||
Since | Since | ||||
.Xr mount_mfs 8 | .Nm mount_mfs | ||||
had some silly defaults, a | had some silly defaults, a | ||||
.Dq compatibility | .Dq compatibility | ||||
mode is provided for the case where bug-to-bug compatibility is desired. | mode is provided for the case where bug-to-bug compatibility is desired. | ||||
.Pp | .Pp | ||||
Compatibility is enabled by starting | Compatibility is enabled by starting | ||||
.Nm | .Nm | ||||
with the name | with the name | ||||
.Li mount_mfs | .Li mount_mfs | ||||
or | or | ||||
.Li mfs | .Li mfs | ||||
(as returned by | (as returned by | ||||
.Xr getprogname 3 ) . | .Xr getprogname 3 ) . | ||||
In this mode, the following behavior, as done by | In this mode, the following behavior, as done by | ||||
.Xr mount_mfs 8 , | .Nm mount_mfs , | ||||
is duplicated: | is duplicated: | ||||
.Bl -bullet -offset indent | .Bl -bullet -offset indent | ||||
.It | .It | ||||
The file mode of | The file mode of | ||||
.Ar mount-point | .Ar mount-point | ||||
is set by default to | is set by default to | ||||
.Li 01777 | .Li 01777 | ||||
as if | as if | ||||
Show All 17 Lines |