View | Details | Raw Unified | Return to bug 157354
Collapse All | Expand All

(-)newfs.8 (-7 / +6 lines)
Lines 28-34 Link Here
28
.\"     @(#)newfs.8	8.6 (Berkeley) 5/3/95
28
.\"     @(#)newfs.8	8.6 (Berkeley) 5/3/95
29
.\" $FreeBSD$
29
.\" $FreeBSD$
30
.\"
30
.\"
31
.Dd February 22, 2011
31
.Dd May 26, 2011
32
.Dt NEWFS 8
32
.Dt NEWFS 8
33
.Os
33
.Os
34
.Sh NAME
34
.Sh NAME
Lines 112-118 Link Here
112
The block size of the file system, in bytes.
112
The block size of the file system, in bytes.
113
It must be a power of 2.
113
It must be a power of 2.
114
The
114
The
115
default size is 16384 bytes, and the smallest allowable size is 4096 bytes.
115
default size is 32768 bytes, and the smallest allowable size is 4096 bytes.
116
The optimal block:fragment ratio is 8:1.
116
The optimal block:fragment ratio is 8:1.
117
Other ratios are possible, but are not recommended,
117
Other ratios are possible, but are not recommended,
118
and may produce poor results.
118
and may produce poor results.
Lines 143-149 Link Here
143
.Ar blocksize Ns /8
143
.Ar blocksize Ns /8
144
and
144
and
145
.Ar blocksize .
145
.Ar blocksize .
146
The default is 2048 bytes.
146
The default is 4096 bytes.
147
Having a lower size will result in poor performance with modern disks utilizing
148
4096 byte sectors.
147
.It Fl g Ar avgfilesize
149
.It Fl g Ar avgfilesize
148
The expected average file size for the file system.
150
The expected average file size for the file system.
149
.It Fl h Ar avgfpdir
151
.It Fl h Ar avgfpdir
Lines 279-289 Link Here
279
.Pa ad3s1a .
281
.Pa ad3s1a .
280
The
282
The
281
.Nm
283
.Nm
282
utility will use a block size of 16384 bytes, a fragment size of 2048 bytes
284
utility will use a block size of 32768 bytes, a fragment size of 4096 bytes
283
and the largest possible number of blocks per cylinders group.
285
and the largest possible number of blocks per cylinders group.
284
These values tend to produce better performance for most applications
285
than the historical defaults
286
(8192 byte block size and 1024 byte fragment size).
287
This large fragment size may lead to much wasted space
286
This large fragment size may lead to much wasted space
288
on file systems that contain many small files.
287
on file systems that contain many small files.
289
.Sh SEE ALSO
288
.Sh SEE ALSO

Return to bug 157354