aboutsummaryrefslogtreecommitdiff
path: root/sbin/mdconfig
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/mdconfig')
-rw-r--r--sbin/mdconfig/mdconfig.85
1 files changed, 2 insertions, 3 deletions
diff --git a/sbin/mdconfig/mdconfig.8 b/sbin/mdconfig/mdconfig.8
index 30ec7cab4e64..3b3583e986be 100644
--- a/sbin/mdconfig/mdconfig.8
+++ b/sbin/mdconfig/mdconfig.8
@@ -157,9 +157,8 @@ To create and mount a 128MByte swap backed file system on
.Pa /tmp :
.Bd -literal -offset indent
mdconfig -a -t swap -s 128M -u 10
-disklabel -r -w md10 auto
-newfs -U /dev/md10c
-mount /dev/md10c /tmp
+newfs -U /dev/md10
+mount /dev/md10 /tmp
chmod 1777 /tmp
.Ed
.Sh SEE ALSO