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

Re: Udev and device name unstable

On Tue,12.May.09, 05:37:24, T o n g wrote:
> Hi, 
> My DVD device is used to be /dev/dvd or /dev/dvdrw. But today
> after I rebooted my box, there are no /dev/dvd or /dev/dvdrw
> devices any more. They are changed to /dev/dvd1 and /dev/dvdrw1
> instead.
Those are usually symbolic links to the real device:

$ ls -l /dev/dvd*
lrwxrwxrwx 1 root root 3 2009-05-12 09:05 /dev/dvd -> hda
lrwxrwxrwx 1 root root 3 2009-05-12 09:05 /dev/dvdrw -> hda

> This make it very inconvenient for me, since all my scripts (and
> fstab) are using hard-coded /dev/dvd. Why is My DVD device name
> get changed this time?  AFAIK, I didn't make any changes to the
> system (package upgrading or config file changing).

Maybe you added or removed some hardware? My guess is the PCI id for 
your DVD has changed.

> Is there any way to tell udev to rescan the devices or specific
> devices, so that I don't need to reboot to correct this?

Please post your /etc/udev/rules.d/70-persistent-cd.rules file.

If you can't explain it simply, you don't understand it well enough.
(Albert Einstein)

Attachment: signature.asc
Description: Digital signature

Reply to: