linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* udev creates a wrong link for the cdrom device
@ 2006-12-27 16:30 jonathan
  2006-12-28  0:00 ` MUNEDA Takahiro
  0 siblings, 1 reply; 2+ messages in thread
From: jonathan @ 2006-12-27 16:30 UTC (permalink / raw)
  To: linux-hotplug

Hey,

I've some problems setting up the udev rules for my cdrom-drive. 
Actually the settings should work but the /dev/cdrom device is always 
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="add", SUBSYSTEM="block", ENV(ID_TYPE)="cd", SYMLINK+="cdrom 
dvd", GROUP="cdrom"

I've already tried to use ENV(ID_MODEL) and ENV(ID_SERIAL) but it didnt 
worked either.

I've noticed that it doesnt take any effect if I comment this rule, so 
maybe udev doesnt recognize it. The rule is placed in 
/etc/udev/rules.d/82-cdrom.rules, the same place where all the other 
rules are.

So maybe Im just too stupid to see the failure or maybe its a but. I 
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=join.php&p=sourceforge&CIDÞVDEV
_______________________________________________
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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-12-28  0:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-27 16:30 udev creates a wrong link for the cdrom device jonathan
2006-12-28  0:00 ` MUNEDA Takahiro

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).