From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kay Sievers Date: Sun, 07 Mar 2004 14:16:55 +0000 Subject: Re: udev problems Message-Id: <1078669015.1170.31.camel@pim> List-Id: References: <200403071315.02925.michal@cihar.com> In-Reply-To: <200403071315.02925.michal@cihar.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: linux-hotplug@vger.kernel.org On Sun, 2004-03-07 at 13:15, Michal =C8iha=F8 wrote: > 21: BUS=3D"scsi", SYSFS{vendor}=3D"Apacer ", SYSFS{model}=3D"Mega Steno = ",=20 > PROGRAM=3D"/etc/udev/apacer.sh %k %b %n", NAME=3D"%c{1}", SYMLINK=3D"%k %= c{2}=20 > %c{3}" > Why does every time match another rule? Yeah, It's a bug in the trailin whitespace removal. We mangle the attribut evalue while we compare it and libsysfs reuses it :( Just remove your trailing whitespace from "Apacer " and please tell me if it works. Anyway I will fix it soon. thanks for pointing this out, Kay ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id638&op=CCk _______________________________________________ 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