
Floppy reports size as zero sectors, zero tracks, zero bytes
Brought to you through the the magic of the X clipboard:
------------------------- cut here -----------------------------
# /root ; ls -l /dev/fd0*
brw------- 1 root wheel 2, 0 Jun 14 1992 /dev/fd0
brw------- 1 root wheel 2, 28 Oct 20 1995 /dev/fd0u1440
brw------- 1 root wheel 2, 124 Oct 20 1995 /dev/fd0u1600
brw------- 1 root wheel 2, 44 Oct 20 1995 /dev/fd0u1680
brw------- 1 root wheel 2, 116 Oct 20 1995 /dev/fd0u1840
brw------- 1 root wheel 2, 100 Oct 20 1995 /dev/fd0u1920
brw------- 1 root wheel 2, 32 Oct 20 1995 /dev/fd0u2880
brw------- 1 root wheel 2, 112 Oct 20 1995 /dev/fd0u3840
# /root ; fdformat /dev/fd0u1440
Single-sided, 0 tracks, 0 sec/track. Total capacity 0 kB.
Formatting ... done
Verifying ... done
# /root ; cat /etc/fdprm
# /etc/fdprm - floppy disk parameter table
# Common disk formats. Names are of the form
# actual media capacity/maximum drive capacity
# (Note: although 5.25" HD drives can format disks at 1.44M, they're listed
# as 1200 because that's the common maximum size.)
# size sec/t hds trk stre gap rate spec1 fmt_gap
# (sectors!)
360/360 720 9 2 40 0 0x2A 0x02 0xDF 0x50
1200/1200 2400 15 2 80 0 0x1B 0x00 0xDF 0x54
360/720 720 9 2 40 1 0x2A 0x02 0xDF 0x50
720/720 1440 9 2 80 0 0x2A 0x02 0xDF 0x50
720/1440 1440 9 2 80 0 0x2A 0x02 0xDF 0x50
360/1200 720 9 2 40 1 0x23 0x01 0xDF 0x50
720/1200 1440 9 2 80 0 0x23 0x01 0xDF 0x50
1440/1440 2880 18 2 80 0 0x1B 0x00 0xCF 0x6C
# /root ; setfdprm /dev/fd0 1440/1440
# /root ; fdformat /dev/fd0
Single-sided, 0 tracks, 0 sec/track. Total capacity 0 kB.
Formatting ... done
Verifying ... done
# /root ; fdformat /dev/fd0u1440
Single-sided, 0 tracks, 0 sec/track. Total capacity 0 kB.
Formatting ... done
Verifying ... done
# /root ;
-------------------------- cut here ----------------------------
When asked to format the disk, the drive does activate, and formatting
does occur. But with a zero/zero geometry, the formatting goes rather
quickly. And this happens regardless of the minor number chosen. I
added the other small-format devices just now and got the same problem
for all of them.
Derek
--
Derek Upham
s...@celia.serv.net http://www.serv.net/~sand
"Ha! Your Leaping Tiger Kung Fu is no match for my Frightened Piglet style!"