From mboxrd@z Thu Jan 1 00:00:00 1970 From: jonathan Date: Wed, 27 Dec 2006 16:30:34 +0000 Subject: udev creates a wrong link for the cdrom device Message-Id: <45929BED.1020008@gmx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: linux-hotplug@vger.kernel.org Hey, I've some problems setting up the udev rules for my cdrom-drive.=20 Actually the settings should work but the /dev/cdrom device is always=20 linked to /dev/sda2 though my cdrom is /dev/hdb. lrwxrwxrwx 1 root root 4 Dec 27 17:10 /dev/cdrom -> sda2 brw-rw---- 1 root disk 3, 64 Dec 27 17:10 /dev/hdb my udev-rules look like this: ACTION=3D"add", SUBSYSTEM=3D"block", ENV(ID_TYPE)=3D"cd", SYMLINK+=3D"cdrom= =20 dvd", GROUP=3D"cdrom" I've already tried to use ENV(ID_MODEL) and ENV(ID_SERIAL) but it didnt=20 worked either. I've noticed that it doesnt take any effect if I comment this rule, so=20 maybe udev doesnt recognize it. The rule is placed in=20 /etc/udev/rules.d/82-cdrom.rules, the same place where all the other=20 rules are. So maybe Im just too stupid to see the failure or maybe its a but. I=20 hope someone of you can help me. Thanks in advance, Jonathan ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=DEVD= EV _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel