[4153] in RedHat Linux List
Re: creating a 1722K floppy
daemon@ATHENA.MIT.EDU (Eric Smith)
Tue Nov 12 21:45:34 1996
Date: 13 Nov 1996 03:31:48 -0000
From: Eric Smith <eric@brouhaha.com>
To: maillard@vt.edu
CC: dnlcrb@rtmol.it, maillard@mail.vt.edu, redhat-list@redhat.com
In-reply-to: <199611130110.UAA25545@tulipe.val.org> (message from Julien
Maillard on Tue, 12 Nov 1996 20:10:54 -0500)
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com
Julien Maillard <maillard@vt.edu> wrote:
> has anyone more pointers as whether the above devices might damage certain
> floppy drives? I remember reading this somewhere... also, where can I get
> more info on the different sizes available and their associated major and
> minor numbers?
There is a table in the floppy driver source code (drivers/block/floppy.c):
static struct floppy_struct floppy_type[32] = {
{ 0, 0,0, 0,0,0x00,0x00,0x00,0x00,NULL }, /* 0 no testing */
{ 720, 9,2,40,0,0x2A,0x02,0xDF,0x50,"d360" }, /* 1 360KB PC */
{ 2400,15,2,80,0,0x1B,0x00,0xDF,0x54,"h1200" }, /* 2 1.2MB AT */
{ 720, 9,1,80,0,0x2A,0x02,0xDF,0x50,"D360" }, /* 3 360KB SS 3.5" */
{ 1440, 9,2,80,0,0x2A,0x02,0xDF,0x50,"D720" }, /* 4 720KB 3.5" */
{ 720, 9,2,40,1,0x23,0x01,0xDF,0x50,"h360" }, /* 5 360KB AT */
etc.
The minor device is ((4 * index) + drive).
Some entries use more than 80 tracks (or more than 40 for low density 5.25
inch drives). These might potentially cause hardware problems, though I
haven't heard of any. However, there are quite a few entries that just pack
more sectors onto a track by reducing the gap sizes. That only has potential
for damaging your data, not your hardware.
Eric
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
________________________________________________________________________
http://www.redhat.com/RedHat-FAQ http://www.redhat.com/RedHat-Errata
http://www.redhat.com/RedHat-Tips http://www.redhat.com/mailing-lists
------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null