Bruce Dubbs wrote:
> Baho Utot wrote:
>> On 08/25/2013 10:44 AM, Ken Moffat wrote:
>>> On Sun, Aug 25, 2013 at 09:27:37AM -0400, Baho Utot wrote:
>>>> On 08/24/2013 10:14 PM, Ken Moffat wrote:
>>>>>      Does anyone else see eject failing to eject a CD/DVD with 7.3 or
>>>>> later ?  Eject is now part of util-linux so you don't need to
>>>>> install anything extra to test this, just put a CD or DVD in
>>>>> /dev/sr0.
>>>> on the latest SVN if a cd/dvd is in the drive eject works.
>>>> If no cd/dvd is in the drive eject does nothing.
>>>     Odd.  As Bruce noted, it ought to let you open the drawer to load a
>>> CD.  My problem turns out to be different, and I'm not sure about
>>> the OP's problem with eject.
>>>
>>> ĸen
>>
>> I have found that when there is not a cd/dvd in the drive there is no
>> symlink /dev/cdrom so maybe eject then finds nothing to eject?
>> After a cd/dvd/ is placed into the drive /dev/cdrom  is there and eject
>> works.
>
> What version of udev are you using?  There is nothing that I know of
> that should remove the /dev/cdrom symlink.  The symlink should be
> created when the system boots.  Is this perhaps a usb cdrom?
>
> Do you have /dev/sr0?
>
>     -- Bruce
>
Before I got a working 70-persistent-cd.rules, "ls -l | grep ' sr'"
showed something like this:

lrwxrwxrwx 1 root root         3 Aug 25 16:16 cdrom -> sr0
brw-rw---- 1 root cdrom  11,   0 Aug 25 16:16 sr0
brw-rw---- 1 root cdrom  11,   1 Aug 25 13:00 sr1

When I connected my usb drive, I got something like this:

lrwxrwxrwx 1 root root         3 Aug 25 16:16 cdrom -> sr2
brw-rw---- 1 root cdrom  11,   0 Aug 25 16:16 sr0
brw-rw---- 1 root cdrom  11,   1 Aug 25 13:00 sr1
brw-rw---- 1 root cdrom  11,   2 Aug 25 17:27 sr2

When I disconnected it, I got the original result.  Disregard
the time stamps.

Apparently, having a 70-persistent-cd.rules that udev does not
ignore, with an explicit "cdrom" link; holds "cdrom" still.

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to