From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Date: Thu, 12 Feb 2004 01:26:25 +0000 Subject: Re: [PATCH] udev add wild card compare for ID Message-Id: <20040212012625.GD15983@kroah.com> List-Id: References: <20040211163323.A26452@beaverton.ibm.com> In-Reply-To: <20040211163323.A26452@beaverton.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Wed, Feb 11, 2004 at 04:33:23PM -0800, Patrick Mansfield wrote: > Patch on top of previous patch. > > Allow wild card comparison of the ID. > > Using strcmp_pattern here also means we on longer match partial values, > for example, a scsi rule like this won't match anymore: > > BUS="scsi", ID=":0", NAME="sdfoo-short-bus_id-1" > > But this now works: > > BUS="scsi", ID="*:0", NAME="sdfoo-bus_id-wild-card-1" Nice, I've applied this. Care to write up a rule for udev-test.pl so we don't accidentially break this feature some time in the future? thanks, greg k-h ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id56&alloc_id438&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