linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Stephane Chauveau <s.chauveau@chello.nl>
To: linux-hotplug@vger.kernel.org
Subject: Re: Re: pattern matching in udev
Date: Wed, 03 Dec 2003 19:19:44 +0000	[thread overview]
Message-ID: <marc-linux-hotplug-107047921831290@msgid-missing> (raw)

> > REGEXP "<$bus><$vendor><$id>"="<scsi><ImageMate.*><.*:0:0:\(.*\)>",
> >              NAME="mem\1-%n"
>
> IMO the pattern matching should be part of the TOPOLOGY plus PLACE. 
>
> The scsi naming also requires a parent, your example above is only valid
> if you have one host adapter connected (or one usb mass storage device
> attached), there could exist another sd on *:0:0:0.

Not really because my example matches the $bus, the $id and the $vendor.
A single method capable of pattern matching on all the available informations 
could be used to replace all the methods currently in implemented in udev 
(except maybe REPLACE which has a different purpose). 

Stephane.







-------------------------------------------------------
This SF.net email is sponsored by OSDN's Audience Survey.
Help shape OSDN's sites and tell us what you think. Take this
five minute survey and you could win a $250 Gift Certificate.
http://www.wrgsurveys.com/2003/osdntech03.php?site=8
_______________________________________________
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:[~2003-12-03 19:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-03 19:19 Stephane Chauveau [this message]
2003-12-04  6:53 ` Re: pattern matching in udev Patrick Mansfield

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=marc-linux-hotplug-107047921831290@msgid-missing \
    --to=s.chauveau@chello.nl \
    --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).