Comment 37 for bug 11517

Revision history for this message
Christophe Fergeau (teuf-gnome) wrote :

$ python ./eject.py /dev/sdb2
Traceback (most recent call last):
  File "./eject.py", line 12, in ?
    r = fcntl.ioctl(f, CDROM.CDROMEJECT, 0)
IOError: [Errno 5] Input/output error

(same thing if I call the script on /dev/sdb)
eject(1) usually works (I'm saying usually because I tested it after running
your script, and it's hanging)