o Add an example for a large file system.

o Remove bug about boot blocks hating non-8k file systems.  This hasn't been
  the case for a long time.

Not Objected to by: hackers, doc
This commit is contained in:
Warner Losh 2000-12-19 21:55:07 +00:00
parent 1afd1f9956
commit 64dee60f8c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=70203

View File

@ -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 ,