Subject: kern/11900: disklabels are broken
To: None <gnats-bugs@gnats.netbsd.org>
From: Wolfgang Rupprecht <wolfgang@wsrcc.com>
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
>Closed-Date:
>Last-Modified:
>Originator:     Wolfgang Rupprecht
>Release:        NetBSD-current (anon-cvs synced as of 10 minutes ago) jan 5 2001
>Organization:
W S Rupprecht Computer Consulting, Fremont CA
>Environment:
	
System: NetBSD pasillo.wsrcc.com 1.5Q NetBSD 1.5Q (WSRCC) #23: Fri Jan 5 20:40:57 PST 2001 wolfgang@capsicum.wsrcc.com:/u/src/netbsd/NetBSD-current/usr/src/sys/arch/i386/compile/WSRCC i386
Architecture: i386
Machine: i386
>Description:

	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

>How-To-Repeat:
	type the above commands.
	
>Fix:
	none supplied
>Release-Note:
>Audit-Trail:
>Unformatted: