Point taken.  Some comments, though:

1. In a previous version or release of udev, there was a script called
cdsymlinks.sh that seemed to get it right.  It is not there now.

2. Making a set of rules in /etc/udev/rules.d seemed the obvious choice,
but the script

60-symlinks.rules

seemed to interfere with any rules I wrote.

My workaround was to have a script called /etc/init.d/udev-workaround
that did

cd /dev
ln -sf hdc cdrom
ln -sf hdc cdrom0
ln -sf hdc dvd
ln -sf hdd cdrom1

and to have in /etc/rc2.d a symlink to the above script called

S99udev-workaround

3. It works fine but I would appreciate knowing how to get this to
happen from a udev script that does not get interfered with by
/etc/udev/rules.d/60-symlinks.rules

4. It appears that udev is quite volatile.

Thanks.

-- 
udev symlinks for /dev/cd* and /dev/dvd* are wrong in Dapper
https://launchpad.net/bugs/52492

--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to