Floppy problems
Pete Carah
pete at altadena.net
Tue Jan 25 12:19:44 PST 2005
5.3-REL-p5:
-----------
I am having problems using a 360k floppy in a 1.2m drive; this should work.
fdcontrol reports different things with or without -Fv:
---
% fdcontrol -Fv /dev/fd0
/dev/fd0: 360 KB media type
Format: 9,512,0xff,0x23,40,300,2,0x50,1,0,+mfm,+2step
Sector size: 512
Sectors/track: 9
Heads/cylinder: 2
Cylinders/disk: 40
Transfer rate: 300 kbps
Sector gap: 35
Format gap: 80
Interleave: 1
Side offset: 0
Flags <MFM,2STEP>
-------------
correctly identifying the media and need for 2step. However, mounting the
disk from /dev/fd0 results in hard errors on all but the root directory,
indicating that 2step isn't being used.
This is true with or without device flag 0x10.
and
---
% fdcontrol /dev/fd0
1.2M
% fdcontrol -v /dev/fd0
/dev/fd0: 1.2M drive (5.25" high-density)
------------
which is wrong (it identifies the drive right but not the media; maybe
this is what is supposed to happen but...)
Explicitly giving the fmtstr to fdcontrol has no effect on either a current
or subsequent mount. Nor does fdcontrol -f 360.
The fdc man page gives no hint as to what the minor number for each of
the different format subdevices should be.
-- Pete
More information about the freebsd-current
mailing list