From:
[email protected]
On Wed, Aug 11, 2004 at 09:07:04PM -0600, Marcelo E. Magallon wrote:
Package: gnome-volume-manager
Version: 0.9.5+cvs20040724-1
Severity: normal
Hi,
I have:
/dev/cdrom /media/cdrom iso9660 ro,users,noauto,unhide 0 0 /dev/cdwriter /media/cdwriter iso9660 ro,users,noauto,unhide 0 0
"/dev/cdrom" is a symlink to /dev/hdc and this is created by the
default udev configuration (i.e., what you get after doing "apt-get
install udev"). I guess HAL doesn't have access to this information
and passes "/dev/hdc" to gnome-volume-manager. Is there a way arround
this? Or do I have to live with the break-prone /dev/hdc?
If you apply the attached patch to your udev.rules. It wil use /dev/cdrom as the device node and the legacy /dev/hdc device as a symlink :)
I'm reassigning this with severity wishlist to udev. Hopefully the udev maintainer likes the idea.
Sjoerd
--
Without life, Biology itself would be impossible.
--- udev.rules 2004-08-12 20:33:34.000000000 +0200
+++ /tmp/udev.rules 2004-08-12 20:45:25.000000000 +0200
@@ -12,8 +12,8 @@
# %% - the '%' char itself.
#
-# /dev/cdrom symlink
-BUS="ide", KERNEL="hd[a-z]", PROGRAM="/etc/udev/cdsymlinks.sh %k", SYMLINK="%c{1} %c{2}"
+# /dev/cdrom
+BUS="ide", KERNEL="hd[a-z]", PROGRAM="/etc/udev/cdsymlinks.sh %k", NAME="%c{1}", SYMLINK="%k %c{2}"
# permissions for IDE CD devices
BUS="ide", KERNEL="*[!0-9]", PROGRAM="/bin/cat /proc/ide/%k/media", RESULT="cdrom*", NAME="%k", MODE="0660", GROUP="cdrom"
--- SoupGate-Win32 v1.05
* Origin: you cannot sedate... all the things you hate (1:229/2)