Subject: Re: CVS commit: src/sbin/newfs
To: Greg 'groggy' Lehey <grog@NetBSD.org>
From: David Laight <david@l8s.co.uk>
List: source-changes
Date: 10/10/2003 09:45:37
> >    The -V flag tells newfs not to make assumptions about the device name.
> >
> > i think the best thing would be to teach newfs to just try the name
> > as-is first (perhaps the -F flag already does what you need, but i
> > think it would be better for this to "just work.")
> 
> Hmm, yes, this might be a good alternative.  I don't like having to
> specify the size; possibly I can fix that, though.  I'll take a look.

Maybe an ioctl that returns the disklabel info for the opened partition?
newfs could use that instead of getting the volumes disklabel.

OTOH what does vimun report if asked for a disklabel?
Maybe all its names should end in 'a'?

	David

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