summaryrefslogtreecommitdiffstats
path: root/sbin/newfs/newfs.8
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/newfs/newfs.8')
-rw-r--r--sbin/newfs/newfs.816
1 files changed, 9 insertions, 7 deletions
diff --git a/sbin/newfs/newfs.8 b/sbin/newfs/newfs.8
index c1f6b49..8c4634f 100644
--- a/sbin/newfs/newfs.8
+++ b/sbin/newfs/newfs.8
@@ -335,18 +335,20 @@ man page for possible options and their meanings.
.El
.Sh EXAMPLES
.Pp
+.Dl newfs -b 16384 -f 4096 -c 100 /dev/ad3s1a
+.Pp
+Creates a new ufs file system on ad3s1a.
+.Nm
+will use a block size of 16384 bytes, a fragement size of 4096 bytes
+and have 100 cylinders per cylinder group rather than the defaults.
+These values are tend to produce better performance than the defaults
+for file systems larger than about 5 gigabytes.
+.Pp
.Dl mount_mfs -s 131072 -o nosuid,nodev /dev/da0s1b /tmp
.Pp
Mount a 64 MB large memory file system on /tmp, with
.Xr mount 8
options nosuid and nodev.
-.Sh BUGS
-The boot code of
-.Fx
-assumes that the file system that carries the
-kernel has blocks of 8 kilobytes and fragments of 1 kilobyte.
-You will
-not be able to boot from a file system that uses another size.
.Sh SEE ALSO
.Xr fdformat 1 ,
.Xr disktab 5 ,
OpenPOWER on IntegriCloud