linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: jonathan <jonathan.schluessler@gmx.de>
To: linux-hotplug@vger.kernel.org
Subject: udev creates a wrong link for the cdrom device
Date: Wed, 27 Dec 2006 16:30:34 +0000	[thread overview]
Message-ID: <45929BED.1020008@gmx.de> (raw)

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

             reply	other threads:[~2006-12-27 16:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-27 16:30 jonathan [this message]
2006-12-28  0:00 ` udev creates a wrong link for the cdrom device MUNEDA Takahiro

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=45929BED.1020008@gmx.de \
    --to=jonathan.schluessler@gmx.de \
    --cc=linux-hotplug@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).