How to detect a floppy in 386/ix ??

Larry Williamson larry at focsys.UUCP
Thu Feb 2 04:16:48 AEST 1989


I need to be able to write to a floppy without having the fd(7)
driver display disk error messages to the console repeatedly until
the operator inserts a floppy.

I must detect the missing floppy, prompt the operator to insert one,
verify they did insert the floppy, then write the data.

I've looked for an ioctl(2) that I can use, but there isn't one that
will do the trick. I tried V_GETPARMS, but it does not detect the
floppy's presence.

The OS is Interactive's 386/ix (1.0.6).

Any other suggestions?

Larry
-- 
Larry Williamson  -- Focus Systems -- Waterloo, Ontario
                  watmath!focsys!larry  (519) 746-4918



More information about the Comp.unix.wizards mailing list