]> err.no Git - systemd/commit
[PATCH] udev add wild card compare for ID
authorpatmans@us.ibm.com <patmans@us.ibm.com>
Thu, 12 Feb 2004 09:25:28 +0000 (01:25 -0800)
committerGreg KH <gregkh@suse.de>
Wed, 27 Apr 2005 04:32:26 +0000 (21:32 -0700)
commit3a8c51a771b5c67d5cf0002980254ef175668630
tree33063f180356d85f08803272b78d6d2e273d6f68
parent5a42932b9a783670ae3406fb2c3462036bb16d32
[PATCH] udev add wild card compare for ID

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"
namedev.c