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

Paul Smith phhs80 at gmail.com
Sun Aug 31 22:41:58 UTC 2008


On Sun, Aug 31, 2008 at 11:17 PM, Mikkel L. Ellertson
<mikkel at infinity-ltd.com> wrote:
> Paul Smith wrote:
>> # more /etc/udev/rules.d/70-persistent-cd.rules
>> # This file was automatically generated by the /lib/udev/write_cd_rules
>> # program, probably run by the cd-aliases-generator.rules rules file.
>> #
>> # You can modify it, as long as you keep each rule on a single line
>> # and set the $GENERATED variable.
>>
>> # DVD_RW_ND-3520A (pci-0000:04:06.0-scsi-0:0:1:0)
>> ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:04:06.0-scsi-0:0:1:0",
>> SYMLINK+="cdrom", ENV{GENERATED}="1"
>> ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:04:06.0-scsi-0:0:1:0",
>> SYMLINK+="cdrw", ENV{GENERATED}="1"
>> ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:04:06.0-scsi-0:0:1:0",
>> SYMLINK+="dvd", ENV{GENERATED}="1"
>> ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:04:06.0-scsi-0:0:1:0",
>> SYMLINK+="dvdrw", ENV{GENERATED}="1"
>> #
>>
> Does lspci show 00:04:06 as a SCSI or IDE controller? (The
> controller the drive is on.) For a drastic fix, you could create a
> backup of the file, delete everything from # DVD to the end of the
> file, and reboot. It should create the proper entries. But I am not
> 100% sure - that is why you make a backup. :)

How can I check whether lspci shows 00:04:06 as a SCSI or IDE controller?

> You can also try renaming the file, and see if a new one is created.
> I believe it will be, but it is hard to follow the logic between the
> different batch files and 75-cd-alias~rator.rules

I renamed the old file, but none new was created after a reboot.

Paul




More information about the fedora-list mailing list