Miscellaneous mdoc(7) fixes; also expand contractions.

Submitted by:	ru
This commit is contained in:
Dima Dorfman 2001-06-20 00:34:20 +00:00
parent 4ee5ccb607
commit 9dde6035c7
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=78479

View file

@ -50,7 +50,7 @@ driver
.Op Fl o Ar mount-options .Op Fl o Ar mount-options
.Op Fl p Ar permissions .Op Fl p Ar permissions
.Op Fl s Ar size .Op Fl s Ar size
.Op Fl w Ar user Ns | 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
@ -101,7 +101,7 @@ Where possible,
the option letter matches the one used by the option letter matches the one used by
.Xr mount_mfs 8 .Xr mount_mfs 8
for the same thing. for the same thing.
.Bl -tag -width Ds .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
@ -114,7 +114,7 @@ The block size of the filesystem, in bytes.
The number of cylinders per cylinder group in the filesystem. The number of cylinders per cylinder group in the filesystem.
.It Fl D .It Fl D
If not using auto-unit, If not using auto-unit,
don't run do not run
.Xr mdconfig 8 .Xr mdconfig 8
to try to detach the unit before attaching it. to try to detach the unit before attaching it.
.It Fl d Ar rotdelay .It Fl d Ar rotdelay
@ -150,7 +150,7 @@ instead of a swap-backed disk.
.It Fl m Ar percent-free .It Fl m Ar percent-free
The percentage of space reserved for the superuser. The percentage of space reserved for the superuser.
.It Fl N .It Fl N
Don't actually run the helper programs. Do not actually run the helper programs.
This is most useful in conjunction with This is most useful in conjunction with
.Fl X . .Fl X .
.It Fl n Ar rotational-positions .It Fl n Ar rotational-positions
@ -158,9 +158,9 @@ The default number of rotational positions to distinguish.
.It Fl O Ar optimization .It Fl O Ar optimization
Select the optimization preference; Select the optimization preference;
valid choices are valid choices are
.Ar space .Cm space
and and
.Ar time , .Cm time ,
which will optimize for minimum space fragmentation and which will optimize for minimum space fragmentation and
minimum time spent allocating blocks, minimum time spent allocating blocks,
respectively. respectively.
@ -175,7 +175,7 @@ Set the file (directory) permissions of the mount point
to to
.Ar permissions . .Ar permissions .
.It Fl S .It Fl S
Don't enable soft-updates on the filesystem. Do not enable soft-updates on the filesystem.
.It Fl s Ar size .It Fl s Ar size
Specify the size of the disk to create. Specify the size of the disk to create.
This only makes sense if This only makes sense if
@ -192,15 +192,19 @@ and the optional
.Xr malloc 9 .Xr malloc 9
backed disks backed disks
.Pq Dv MD_MALLOC . .Pq Dv MD_MALLOC .
.It Fl w Ar user Ns | Ns Ar group .It Fl w Ar user : Ns Ar group
Set the owner user and group to Set the owner and group to
.Ar user .Ar user
and and
.Ar group , .Ar group ,
respectively. respectively.
The arguments have the same semantics as with The arguments have the same semantics as with
.Xr chown 8 , .Xr chown 8 ,
but specifying just a user or just a group is not supported. but specifying just a
.Ar user
or just a
.Ar group
is not supported.
.El .El
.Pp .Pp
The The
@ -215,14 +219,7 @@ and
.Fl s , .Fl s ,
respectively. respectively.
The The
.Fl a , .Fl a , b , c , d , e , f , i , m
.Fl b ,
.Fl c ,
.Fl d ,
.Fl e ,
.Fl f ,
.Fl i ,
.FL m
and and
.Fl n .Fl n
options are passed to options are passed to
@ -245,7 +242,7 @@ on their semantics.
Create and mount a 32 megabyte swap-backed filesystem on Create and mount a 32 megabyte swap-backed filesystem on
.Pa /tmp : .Pa /tmp :
.Pp .Pp
.Dl mdmfs -s 32m md /tmp .Dl "mdmfs -s 32m md /tmp"
.Pp .Pp
Create and mount a 16 megabyte malloc-backed filesystem on Create and mount a 16 megabyte malloc-backed filesystem on
.Pa /tmp .Pa /tmp
@ -253,10 +250,10 @@ using the
.Pa /dev/md1 .Pa /dev/md1
device; device;
furthermore, furthermore,
don't use soft-updates it and mount it do not use soft-updates it and mount it
.Cm async : .Cm async :
.Pp .Pp
.Dl mdmfs -M -S -o async -s 16m md1 /tmp .Dl "mdmfs -M -S -o async -s 16m md1 /tmp"
.Sh AUTHOR .Sh AUTHORS
.An Dima Dorfman .An Dima Dorfman
.Aq dd@FreeBSD.org .Aq dd@FreeBSD.org