Subject: Re: kern/2759: vnd doesn't support disklabel ioctls
To: None <jonathan@DSG.Stanford.EDU>
From: der Mouse <mouse@Holo.Rodents.Montreal.QC.CA>
List: netbsd-bugs
Date: 09/16/1996 10:35:43
> Even if I fake up a label on another device, I don't see any good way
> (e.g., dd) to overwrite the first 8k of an FFS image once I've built
> it.  I've tried using dd, but it truncates the output after it's done

Before it starts writing, actually.  Isn't this sort of thing exactly
what "dd conv=notrunc" is all about?

Not that it helps; even if you have a label sitting in the underlying
file, the vnd driver still doesn't support the disklabel ioctls.

If you apply the patches in my PR 1367, though, you'll be able to newfs
the vnd anyway, and once you have a filesystem there, you can mount it
and use it for most things without needing a disklabel.

					der Mouse

			       mouse@rodents.montreal.qc.ca
		     01 EE 31 F6 BB 0C 34 36  00 F3 7C 5A C1 A0 67 1D