Subject: CVS commit: basesrc/sbin/newfs
To: None <source-changes@netbsd.org>
From: Lennart Augustsson <augustss@netbsd.org>
List: source-changes
Date: 12/30/2001 20:49:29
Module Name:	basesrc
Committed By:	augustss
Date:		Sun Dec 30 18:49:29 UTC 2001

Modified Files:
	basesrc/sbin/newfs: newfs.c

Log Message:
Change how default block size is picked.  The default block size is used
if there is no command line option and the disklabel gives 0 as the size.
The default used to be 8k, not the default is picked depending on the
file system size.  FS < 20M gets 4k, <1G get 8k, and >1G get 16k.
The 16k default was suggested by lukem which FreeBSD is using.


To generate a diff of this commit:
cvs rdiff -r1.52 -r1.53 basesrc/sbin/newfs/newfs.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.