Subject: floppy ioctls, was: Disklabel(5)/(8) ?? - hfs
To: Bill Studenmund <wrstuden@loki.stanford.edu>
From: Hauke Fath <saw@sun0.urz.uni-heidelberg.de>
List: port-mac68k
Date: 10/08/1996 20:45:38
> > BTW, what kind of ioctls can we expect for a floppy, if I might be so bold?
> > We'll have to start porting hfsutils :)
> 
> It shouldn't be hard. All we need is to teach it to probe floppies,
> not harddisks. It searches each partition looking for a valid
> HFS partition. If the whole floppy is made one partition, say
> "a", it should work.
> 
> Take care,
> 
> Bill

Floppies have no partitions; fdN{a,b,c} encodes different formats. And
'probe'? You do an open on /dev/(r)fdNa, and if there is no disk
inserted, you get something along the lines of EIO or ENXIO.

        hauke
-- 
"It's never straight up and down"  (DEVO)