eject: unable to find or open device for: `cdrom'

Mikkel L. Ellertson mikkel at infinity-ltd.com
Tue Sep 9 00:09:50 UTC 2008


Paul Smith wrote:
> Dear All,
> 
> The problem has partially returned. In my case, I have
> 
> # ls /dev/cdrom*
> /dev/cdrom1
> #
> 
> And I do the following:
> 
> # cd /dev
> # ln -s ./cdrom1 cdrom
> 
> that solves the problem until a new reboot. After a new reboot, I have
> to apply the solution above explained; otherwise, I get
> 
> $ eject
> eject: unable to find or open device for: `cdrom'
> $
> 
> What can I do to make this solution permanent, i.e., not destroyed by a reboot?
> 
> Thanks in advance,
> 
> Paul
> 
You may have to edit /etc/udev/rules.d/70-persistent-cd.rules and
make sure that the rules for creating the cdrom and cdrom0 are
correct. In your case, I suspect that the rules for cdrom1 should be
for cdrom0. Depending on the drive, it may also have dvd and dvdrw
rules.

The fix is fairly simple - comment out, or delete the <devicd>0
rules, change the <device>1 rules to <device>0, and copy the first
of the old cdrom1 (new cdrom0) rules and change cdrom1 to cdrom in
the copied rule.

When you reboot, all should be fine.

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20080908/c95cf947/attachment-0001.sig>


More information about the fedora-list mailing list