Subject: port-i386/10021: fdformat gives lame error with write-protected disk
To: None <gnats-bugs@gnats.netbsd.org>
From: Joel N. Weber II <nemo@red-bean.com>
List: netbsd-bugs
Date: 04/30/2000 11:35:13
>Number:         10021
>Category:       port-i386
>Synopsis:       fdformat gives an unhelpful error when disk write-protected
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    port-i386-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Apr 30 11:36:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Joel N. Weber II
>Release:        1.4.2
>Organization:
Gratuitous Organization for Gratuitoous Software Enhancement
>Environment:
1.4.2 userland, possibly slightly newer kernel.
System: NetBSD xanthine 1.4.2A NetBSD 1.4.2A (XANTHINE) #0: Sat Apr 15 12:53:55 EDT 2000 nemo@xanthine:/usr/src/syssrc/sys/arch/i386/compile/XANTHINE i386


>Description:
If you attempt to format a write-protected disk, fdformat simply reports
fdformat: 160 track formatting errors

It would be nice if it would print a diagnostic that made it more clear
that the disk is write protected.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: