Skip to contentSkip to conversation

a bug / pattern match for label method

udev Greg KH 1 participant 1 message Dec 4, 2003

lore
Share & tools
lore

Greg KH

author
#0 lore raw
Quoted 3 lines · Kay Sievers

While I was adding pattern match to the LABEL method i hit a bug. We modify a string returned from libsysfs, so with every iteration is is truncated by one char:

ah, nice catch.

Quoted 8 lines

03-bug-in-linefeed-removal.diff
remove only the line feed from string not every last char

04-patternmatch-for-label.diff
switch LABEL search to pattern match
add a test for pattern match in LABEL
remove useless rule from udev.rules

Both of these are now applied, thanks.

greg k-h

-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel