summaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2001-01-28 20:03:02 +0000
committerphk <phk@FreeBSD.org>2001-01-28 20:03:02 +0000
commitf611d5aa5dbd3ff80fba6e3cb804e6903c1aeffa (patch)
tree87fe8efd44f9a93ded09ddfe2d74ed269ae95da4 /sbin
parent0fe2e6bab6a799f6d65f25589cd3741c463a7af5 (diff)
downloadFreeBSD-src-f611d5aa5dbd3ff80fba6e3cb804e6903c1aeffa.zip
FreeBSD-src-f611d5aa5dbd3ff80fba6e3cb804e6903c1aeffa.tar.gz
Don't specify fragment size, it autosizes from the sectorsize.
Remember to set mode 1777 on /tmp Submitted by: mjacob
Diffstat (limited to 'sbin')
-rw-r--r--sbin/mdconfig/mdconfig.83
1 files changed, 2 insertions, 1 deletions
diff --git a/sbin/mdconfig/mdconfig.8 b/sbin/mdconfig/mdconfig.8
index 2aa9e22..d6d37ee 100644
--- a/sbin/mdconfig/mdconfig.8
+++ b/sbin/mdconfig/mdconfig.8
@@ -170,9 +170,10 @@ 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 -f 4096 /dev/md10c
+newfs /dev/md10c
tunefs -n enable /dev/md10c
mount /dev/md10c /tmp
+chmod 1777 /tmp
.Ed
.Pp
It is practically impossible to give a universal example of the
OpenPOWER on IntegriCloud