aboutsummaryrefslogtreecommitdiff
path: root/sbin/mdconfig/mdconfig.8
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2011-04-29 22:40:11 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2011-04-29 22:40:11 +0000
commit6c49c6cff2f51045e7c3878f6a88a1c8ce50db17 (patch)
tree9e85fff2e5273fa820f56a238db9f8079a508479 /sbin/mdconfig/mdconfig.8
parent85ee63c9238483c787a12547328a6b1c196264db (diff)
downloadsrc-6c49c6cff2f51045e7c3878f6a88a1c8ce50db17.tar.gz
src-6c49c6cff2f51045e7c3878f6a88a1c8ce50db17.zip
Somewhere around the 473rd time I mistyped "mdconfig file" instead of
"mdconfig -f file", I decided that it would be easier to make mdconfig DWIM than to teach my fingers to type the correct command line. MFC after: 3 weeks
Notes
Notes: svn path=/head/; revision=221232
Diffstat (limited to 'sbin/mdconfig/mdconfig.8')
-rw-r--r--sbin/mdconfig/mdconfig.811
1 files changed, 11 insertions, 0 deletions
diff --git a/sbin/mdconfig/mdconfig.8 b/sbin/mdconfig/mdconfig.8
index 5998de5497bb..95fdfe886f9b 100644
--- a/sbin/mdconfig/mdconfig.8
+++ b/sbin/mdconfig/mdconfig.8
@@ -68,6 +68,8 @@
.Op Fl n
.Op Fl v
.Op Fl u Ar unit
+.Nm
+.Ar file
.Sh DESCRIPTION
The
.Nm
@@ -185,6 +187,15 @@ Request a specific unit number for the
.Xr md 4
device instead of automatic allocation.
.El
+.Pp
+The last form,
+.Nm
+.Ar file ,
+is provided for convenience as an abbreviation of
+.Nm
+.Fl a
+.Fl t Ar vnode
+.Fl f Ar file .
.Sh EXAMPLES
To create a 4 megabyte
.Xr malloc 9