linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Kay Sievers <kay.sievers@vrfy.org>
To: linux-hotplug@vger.kernel.org
Subject: Re: %e switch doesn't work for udev
Date: Tue, 04 Jan 2005 15:44:52 +0000	[thread overview]
Message-ID: <1104853493.9042.21.camel@localhost.localdomain> (raw)
In-Reply-To: <28890729.1104822507859.JavaMail.www@wwinf0603>

On Tue, 2005-01-04 at 08:08 +0100, Philippe ROUQUIER wrote:
> Hi,
> (I've not suscribed to the list so if you've got an answer please reply
> directly to me). 
> I've read in the udev FAQ that this is the right place for talking and
> asking about udev problems, if not please tell me the right place to
> send my question.

You are at the right place.

> here is the thing, in my /etc/udev/rules.d, I've set up something like
> BUS="ide", KERNEL="hd[b-z]", SYSFS{removable}="1", NAME="%k",
> SYMLINK="cdroms/cdrom%e" as it is advised in some docs. Now the problem
> is it doesn't work: for example hdb (a cdrom) creates
> a /dev/cdroms/cdrom symlink pointing to hdb and hdc (another cdrom
> reader) also creates the same symlink later which is pointing to hdc
> this time. The only way I've found to distinguish between the two cdroms
> is with the %b switch but I really want to use the %e. I use udev
> version 0.50 and I've got the newest hotplug package.
> any idea what is going wrong?

What does:
  udevinfo -q all -p /block/hdb
  udevinfo -q all -p /block/hdc

print?

Kay



-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
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:[~2005-01-04 15:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-04  7:08 %e switch doesn't work for udev Philippe ROUQUIER
2005-01-04 15:44 ` Kay Sievers [this message]
2005-01-04 20:18 ` Kay Sievers

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=1104853493.9042.21.camel@localhost.localdomain \
    --to=kay.sievers@vrfy.org \
    --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).