summaryrefslogtreecommitdiffstats
path: root/sbin/mdconfig
diff options
context:
space:
mode:
authorrse <rse@FreeBSD.org>2002-07-15 11:30:21 +0000
committerrse <rse@FreeBSD.org>2002-07-15 11:30:21 +0000
commit80f61fa8f1d773c6ad89731a96612399399a0a5d (patch)
tree415c800c4904721793551e581ef2b0e4dda0ca4e /sbin/mdconfig
parenta906f0c48c069fbc4c7c7ccfba0b0aaeefb5e4e0 (diff)
downloadFreeBSD-src-80f61fa8f1d773c6ad89731a96612399399a0a5d.zip
FreeBSD-src-80f61fa8f1d773c6ad89731a96612399399a0a5d.tar.gz
Replace extra call to "tunefs" with the equivalent of "newfs -U".
Reviewed by: phk
Diffstat (limited to 'sbin/mdconfig')
-rw-r--r--sbin/mdconfig/mdconfig.83
1 files changed, 1 insertions, 2 deletions
diff --git a/sbin/mdconfig/mdconfig.8 b/sbin/mdconfig/mdconfig.8
index d0e1e79..2d02547 100644
--- a/sbin/mdconfig/mdconfig.8
+++ b/sbin/mdconfig/mdconfig.8
@@ -158,8 +158,7 @@ To create and mount a 128MByte swap backed filesystem on
.Bd -literal -offset indent
mdconfig -a -t swap -s 128M -u 10
disklabel -r -w md10 auto
-newfs /dev/md10c
-tunefs -n enable /dev/md10c
+newfs -U /dev/md10c
mount /dev/md10c /tmp
chmod 1777 /tmp
.Ed
OpenPOWER on IntegriCloud