On Mon, Dec 15, 2003 at 04:27:59PM -0800, Greg KH wrote: > On Tue, Dec 16, 2003 at 01:21:58AM +0100, Kay Sievers wrote: > > o prepend SYSFS_ to the match, like: > > LABEL, BUS="usb", SYSFS_model="Creative Labs WebCam*", NAME="video%n" > > This is my favorite. It's close to the current and says clearly what it does. > > Yeah, I like this one too. Here is a try. Please have a look at it. My motto of the day: Try to attach the patch before hitting the 'y'-key :) Kay 01-remove-field-ordering.diff o change the parsing to get a key from the rule and sort it into our list of known keys instead of expecting a special order o the key to match a sysfs file must be prependend by 'SYSFS_' now to match with the new parsing. (The config must be changed, but it's a bit more descriptive too.) o put names of fields in define's, like the name of the methods o update all tests and the man page