Subject: kern/11900: disklabels are broken
To: None <>
From: Wolfgang Rupprecht <>
List: netbsd-bugs
Date: 01/05/2001 20:57:18
>Number:         11900
>Category:       kern
>Synopsis:       disklabels are broken
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jan 05 20:57:00 PST 2001
>Originator:     Wolfgang Rupprecht
>Release:        NetBSD-current (anon-cvs synced as of 10 minutes ago) jan 5 2001
W S Rupprecht Computer Consulting, Fremont CA
System: NetBSD 1.5Q NetBSD 1.5Q (WSRCC) #23: Fri Jan 5 20:40:57 PST 2001 i386
Architecture: i386
Machine: i386

	Something pretty bad just happened to "wd" disks.  I don't recall 
	seeing a heads-up that disklabels were about to change in some
	serious way.

	tmpfs doesn't mount

	fdisk doesn't read wd0

	$ disklabel wd0
	disklabel: ioctl DIOCGDINFO: Inappropriate ioctl for device

	$ fdisk wd0
	fdisk: DIOCGDEFLABEL: Inappropriate ioctl for device
	fdisk: DIOCGDINFO: Inappropriate ioctl for device

	type the above commands.
	none supplied