Re: CD eject as non-root user

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Am Thu, 18 Aug 2011 18:55:08 +0200
schrieb Karol Blazewicz <karol.blazewicz@xxxxxxxxx>:

> I've noticed that I have problems after I mount the CD: the button on
> the CD-ROM doesn't eject the tray, but 'eject' command works.
> I get 'ioctl: Input/output error' but the tray opens OK.
> 
> Opening and closing the tray w/o mounting works all the time - with
> the hardware button and w/ 'eject', w/o any errors.

That's obvious. You have the same effect on any other OS, too.

If the drive is in use, which is the case if it's mounted, the CD can't
be ejected, because the CD-ROM drive locks its tray.

If you haven't mounted the CD then the drive is not in use, so you can
open and close the tray as much as you want and the way you want.

I don't know exactly why eject can open the tray if the CD is mounted.
Maybe because it first umounts the CD.

Heiko


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux