From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Date: Mon, 16 Feb 2004 21:40:57 +0000 Subject: Re: [PATCH] Adding '%s' format specifier to NAME and SYMLINK Message-Id: <20040216214057.GB22823@kroah.com> List-Id: References: <402892DC.4000003@suse.de> In-Reply-To: <402892DC.4000003@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Mon, Feb 16, 2004 at 01:54:52AM +0100, Kay Sievers wrote: > On Sun, Feb 15, 2004 at 03:36:00AM +0100, Kay Sievers wrote: > > Since we have %s{file} it may be nice to allow SYSFS{file}. > > This patch allows: > > > > BUS="usb", SYSFS{idProduct}="a511", NAME="video%n" > > > > compared to the current: > > > > BUS="usb", SYSFS_idProduct="a511", NAME="video%n" > > > > The curent syntax is still supported. > > Looks a bit nicer and less hackish, I think. > > Better patch with infrastructure to easily implement KEY{attribute} > for every other key. The first user is the SYSFS{file} key. > Both versions, brackets or underscore is supported for the attribute. Aplied, 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