summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 ,