Subject: Re: bin/22529: newfs should update disklabel values for fsize, bsize, ...
To: David Laight <david@l8s.co.uk>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-bugs
Date: 08/18/2003 20:41:42
On Mon, Aug 18, 2003 at 03:18:05PM +0100, David Laight wrote:
> 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.

Err, no. It's usefull to have these parameters, because they're saved
in /var/backup. In case of disaster, it helps to find alternate superblock.
I recovered this way several times.

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 24 ans d'experience feront toujours la difference
--