Baho Utot wrote: > On 08/25/2013 11:36 AM, Bruce Dubbs wrote: >>> 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?
> udev 204 > > This is on a Dell lapdog tye cd/dvd/ is internal > > Yes /dev/sr0 is there > > I should have a new system built with 206 sometime today as it is still > building I really don't think there should be a difference for cdroms between udev 204 and 206. Try 'dmesg|grep -i cdrom' That should indicate whether the kernel found the device. When udev is started in the boot scripts, it should create a symlik from 60-cdrom_id.rules: KERNEL=="sr0", SYMLINK+="cdrom", OPTIONS+="link_priority=-100" Note that in /etc/udev/rules.d there are a couple of cdrom related rules. It should generate /etc/udev/rules.d/70-persistent-cd.rules. You might want to try to trace through that. -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
