Bug 86500 - "eject /dev/fd0" fails, apparently due to mismatch with kernel ioctl
"eject /dev/fd0" fails, apparently due to mismatch with kernel ioctl
Status: CLOSED CURRENTRELEASE
Product: Red Hat Linux
Classification: Retired
Component: eject (Show other bugs)
8.0
i386 Linux
low Severity low
: ---
: ---
Assigned To: Ngo Than
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2003-03-24 11:31 EST by Dale R. Worley
Modified: 2005-10-31 17:00 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2004-09-08 06:59:31 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Dale R. Worley 2003-03-24 11:31:47 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 (tranter@pobox.com)

How reproducible:
At will.

Steps to Reproduce:
1.Execute "eject /dev/fd0".
2.
3.
    
Actual results:
Produces error messages as detailed above.

Expected results:
Eject floppy disk from floppy drive fd0.

Additional info:
Comment 1 Ngo Than 2003-03-26 09:40:02 EST
The 1.44 floppy does not have this capability and of course it does not work if
you try to eject your floppy-disk.
Comment 2 Dale R. Worley 2003-10-03 21:50:06 EDT
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.
Comment 3 Ngo Than 2004-09-08 06:59:31 EDT
you have to use /dev/hda device to mount your LS-120, /dev/fd0 and
/dev/hdc is not the same.

Note You need to log in before you can comment on or make changes to this bug.