summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSheldon Hearn <sheldonh@FreeBSD.org>2000-07-24 14:46:11 +0000
committerSheldon Hearn <sheldonh@FreeBSD.org>2000-07-24 14:46:11 +0000
commit2fe7772c289b6a5730eb1f7e385b4a732f62688c (patch)
tree3d7ecd4665a48b2a91de9c4521d924f76026fc87
parentb423c8e2e78ec0e81affe26556151ff6553d3201 (diff)
Notes
-rw-r--r--share/man/man4/md.415
1 files changed, 15 insertions, 0 deletions
diff --git a/share/man/man4/md.4 b/share/man/man4/md.4
index 5a771e334244..7f9401cef139 100644
--- a/share/man/man4/md.4
+++ b/share/man/man4/md.4
@@ -95,6 +95,21 @@ backed
.Nm
disks,
but not those backed by pre-loaded modules.
+.Sh EXAMPLES
+To mount a
+.Xr malloc 9
+backed
+.Nm
+device on
+.Pa /tmp :
+.Bd -literal
+if [ -e /dev/md0 -a -e /dev/md0c ]; then
+ disklabel -r -w md0 auto && \\
+ newfs /dev/md0c && \\
+ mount /dev/md0c /tmp && \\
+ chmod 1777 /tmp
+fi
+.Ed
.Sh SEE ALSO
.Xr disklabel 5 ,
.Xr disklabel 8 ,