Red Hat Bugzilla – Bug 86500
"eject /dev/fd0" fails, apparently due to mismatch with kernel ioctl
Last modified: 2005-10-31 17:00:50 EST
Description of problem:
Executing the command "eject /dev/fd0" produces the error message:
eject: unable to eject, last error: Invalid argument
And in /var/log/messages:
Mar 24 11:24:35 dragon kernel: floppy0: obsolete eject ioctl
Mar 24 11:24:35 dragon kernel: floppy0: please use floppycontrol --eject
(The floppy does not eject, either.)
Unfortunately, the 'floppycontrol' program referred to in /var/log/messages does
not appear to exist in RH 8.0.
Version-Release number of selected component (if applicable):
~> eject --version
eject version 2.0.12 by Jeff Tranter (firstname.lastname@example.org)
Steps to Reproduce:
1.Execute "eject /dev/fd0".
Produces error messages as detailed above.
Eject floppy disk from floppy drive fd0.
The 1.44 floppy does not have this capability and of course it does not work if
you try to eject your floppy-disk.
My apologies, I'm used to a system where /dev/fd0 is really /dev/hdc, an LS-120
drive, which does have eject capabilities.
Nonetheless, the messages need to be corrected: eject should coherently state
that the device is incapable of the requested act, and the /var/log/messages
lines need to be corrected, as they refer to a nonexistent program.
you have to use /dev/hda device to mount your LS-120, /dev/fd0 and
/dev/hdc is not the same.