freebsd-dev/sbin/newfs
Kirk McKusick cb464c69c0 Ensure that newfs will never create a filesystem with more than 2^32
inodes by cutting back on the number of inodes per cylinder group if
necessary to stay under the limit. For a default (16K block) file
system, this limit begins to take effect for file systems above 32Tb.

This fix is in addition to -r203763 which corrected a problem in the
kernel that treated large inode numbers as negative rather than unsigned.
For a default (16K block) file system, this bug began to show up at a
file system size above about 16Tb.

Reported by: Scott Burns, John Kilburg, Bruce Evans
Followup by: Jeff Roberson
PR:          133980
MFC after:   2 weeks
2010-02-10 20:17:46 +00:00
..
Makefile Raise WARNS for various tools where possible. 2010-01-17 21:56:27 +00:00
mkfs.c Ensure that newfs will never create a filesystem with more than 2^32 2010-02-10 20:17:46 +00:00
newfs.8 Slightly improve gjournal documentation. 2009-04-29 10:02:50 +00:00
newfs.c Ensure that newfs will never create a filesystem with more than 2^32 2010-02-10 20:17:46 +00:00
newfs.h Ensure that newfs will never create a filesystem with more than 2^32 2010-02-10 20:17:46 +00:00
ref.test Fix the -R flag so that it provides sequential "random" numbers 2003-02-22 23:26:11 +00:00
runtest00.sh
runtest01.sh