freebsd-skq/sbin/newfs
mckusick 9a5935957d Raise the default blocksize for UFS/FFS filesystems from
16K to 32K and the default fragment size from 2K to 4K.

The rational is that most disks are now running with 4K
sectors.  While they can (slowly) simulate 512-byte sectors
by doing a read-modify-write, it is desirable to avoid this
functionality.  By raising the minimum filesystem allocation
to 4K, the filesystem will never trigger the small sector
emulation.

Also, the growth of disk sizes has lead us to double the
default block size about every ten years.  The rise from 8K
to 16K blocks was done in 2001.  So, by the 10-year metric,
the time has come for 32K blocks.

Discussed at: May 2011 BSDCan Developer Summit
Reference: http://wiki.freebsd.org/201105DevSummit/FileSystems
2011-05-26 18:22:49 +00:00
..
Makefile Use expand_number(3) from libutil instead of home-grown function to parse 2010-03-03 19:25:28 +00:00
mkfs.c Stop trying to zero UFS1 superblocks if we fall off the end of the disk. 2011-04-26 02:06:31 +00:00
newfs.8 Xref makefs(8). 2011-02-22 15:31:40 +00:00
newfs.c Add the -j option to enable soft updates journaling when creating 2011-02-16 06:00:27 +00:00
newfs.h Raise the default blocksize for UFS/FFS filesystems from 2011-05-26 18:22:49 +00:00
ref.test
runtest00.sh
runtest01.sh