From: Kay Sievers <kay.sievers@vrfy.org>
To: linux-hotplug@vger.kernel.org
Subject: Re: What does /udev think its doing?
Date: Wed, 17 Mar 2004 12:40:36 +0000 [thread overview]
Message-ID: <1079527236.2394.53.camel@pim> (raw)
In-Reply-To: <200403170848.i2H8m1Sg005927@orion.dwf.com>
On Wed, 2004-03-17 at 09:48, reg@dwf.com wrote:
> OK, Im confused, what does /udev think its doing here.
> This is udev-021.
>
> the appropriate rule in udev.rules is
>
> BUS="scsi", SYSFS{vendor}="IC25N020", NAME{all_partitions}="usb_disk"
>
> The result of a ls -lai of /udev/usb is
>
> 449164 brw------- 1 root root 8, 2 Mar 17 01:17 /udev/usb_disk
Please try:
BUS="scsi", KERNEL="*[!0-9]", SYSFS{vendor}="IC25N020", NAME{all_partitions}="usb_disk"
it will catch the main device only. It looks like your rule applies
to all partitions and the result in the same name which is replaces
the former with every match?
If this doesn't work, please tell what you get with:
BUS="scsi", SYSFS{vendor}="IC25N020", NAME{all_partitions}="usb_disk%n"
thanks,
Kay
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id\x1470&alloc_id638&op=click
_______________________________________________
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
prev parent reply other threads:[~2004-03-17 12:40 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-17 8:48 What does /udev think its doing? reg
2004-03-17 12:40 ` Kay Sievers [this message]
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=1079527236.2394.53.camel@pim \
--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).