Subject: CVS commit: basesrc/sbin/newfs
To: None <source-changes@netbsd.org>
From: Luke Mewburn <lukem@netbsd.org>
List: source-changes
Date: 09/24/2001 11:21:45
Module Name:	basesrc
Committed By:	lukem
Date:		Mon Sep 24 08:21:45 UTC 2001

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

Log Message:
the change of calculation of inodes per group in rev 1.52 was far too
aggressive; rework to be a bit less susceptable to round-off error.
now it's likely that the density might not be obtained with a small
filesystem with a large number of inodes (e.g -s 4M -i 1k), but that's
an extremely unlikely corner case that can easily be rectified with
command-line arguments.
fixed provided in private email by Takao Shinohara <shin@sm.sony.co.jp>
should resolve PRs [bin/14049] and [bin/14046]


To generate a diff of this commit:
cvs rdiff -r1.55 -r1.56 basesrc/sbin/newfs/mkfs.c

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