You are not logged in.
Pages: 1
Hi all.
A number of applications prefer or can only use certain devices (e.g., /dev/cdrom). In the default udev setup, these devices are not created. In my case, for example, I'll see /dev/hdc and a link /dev/cdroms/cdrom0 to /dev/hdc.
The problem I'm finding is that I can't get /etc/udev/rules.d/udev.rules to work. For example, I've added the following lines to this file:
# cdrom
KERNEL="hdc", NAME="hdc", SYMLINK="cdrom"
but this has no effect.
My "solution": add the following lines to /etc/rc.local
# cdrom
/bin/ln -sf /dev/hdc /dev/cdrom
On other machines, I've made similar tests and modifications for /dev/dvd and /dev/rdvd with exactly the same problems.
Does anyone know a better solution?
Regards,
Win
Offline
http://wiki.archlinux.org/index.php/UdevHowTo
Should answer your questions but in short you need to create a file that will be read before the default udev rules. I named mine 00-udev.rules and in mine I only put:
# ide block devices
KERNEL="hdc", SYMLINK="dvd"
I didn't bother to put in a 'NAME'.
Offline
Hi skeeterbug.
Thanks. Works as advertised.
I'd been appending these rules to the end of udev.rules instead of following the suggestions of the Udev how-to. (This actually DID work with kernel 2.6.8.)
Regards,
Win
Offline
Pages: 1