Subject: port-i386/366: disklabel fails on floppy disks (3.5") i386
To: None <gnats-admin>
From: None <jtkohl@MIT.EDU>
List: netbsd-bugs
Date: 07/26/1994 10:50:07
>Number:         366
>Category:       port-i386
>Synopsis:       Can't disklabel a blank 3.5" floppy
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jul 26 10:50:05 1994
>Originator:     John T Kohl
>Organization:
MIT SIPB
>Release:        1.0_ALPHA
>Environment:
	
System: NetBSD lola-granola 1.0_BETA NetBSD 1.0_BETA (LOLA) #37: Sun Jul 24 17:27:56 EDT 1994 jtkohl@lola-granola:/usr/src/sys/arch/i386/compile/LOLA i386

>Description:
        The 1.0_ALPHA disklabel won't label a 3.5" floppy.  [I've not
tried the beta disklabel, but I could tonight].  The disklabel program
tries to do the ioctl(DIOCSDINFO) to write the label, which fails
because fd0d generates I/O errors.  It then aborts rather than writing
the disklabel directly to disk.
>How-To-Repeat:
        disklabel -r -w /dev/rfd0a 3in
>Fix:
        I'm not sure if this needs fixing in the kernel disklabel/fd
code (special case it for the floppies?), or in disklabel itself.
>Audit-Trail:
>Unformatted:


------------------------------------------------------------------------------