diff options
author | imp <imp@FreeBSD.org> | 2000-12-19 21:55:07 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2000-12-19 21:55:07 +0000 |
commit | 13dbc6008a62fbee62ad39d614a5e2074a0c0a30 (patch) | |
tree | 27b299595c4256e6d0580676ed57e46c290ef703 /sbin | |
parent | 9d3d001a03ec2fcb5fda9b5543ee2a0612cb1eda (diff) | |
download | FreeBSD-src-13dbc6008a62fbee62ad39d614a5e2074a0c0a30.zip FreeBSD-src-13dbc6008a62fbee62ad39d614a5e2074a0c0a30.tar.gz |
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
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/newfs/newfs.8 | 16 |
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 , |