Subject: Re: bin/22529: newfs should update disklabel values for fsize, bsize, ...
To: None <netbsd-bugs@netbsd.org>
From: David Laight <david@l8s.co.uk>
List: netbsd-bugs
Date: 08/18/2003 15:18:05
> >Synopsis:       newfs should update disklabel values for fsize, bsize, ...

> >Description:
> 	newfs has default values for bsize and fsize based on the size
> 	of the file system.  newfs should update the disklabel with these
> 	values.

I'd say that the reverse is true.
Any code in newfs (etc) that might possibly write values back to the
disklabel should be deleted.
This would leave the values in the disklabel as anachronistic defaults.
(it also removes another program that has to 'know' how to update
disklabels.)

There are other means (eg dumpfs) for finding out the internal
parameters of a filesystem.

	David

-- 
David Laight: david@l8s.co.uk