From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Date: Tue, 14 Sep 2004 20:50:23 +0000 Subject: Re: [patch] compatibility symlinks for udev Message-Id: <20040914205023.GC22110@kroah.com> List-Id: References: <1094481997.4727.14.camel@localhost.localdomain> In-Reply-To: <1094481997.4727.14.camel@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Tue, Sep 14, 2004 at 07:50:31PM +0200, Kay Sievers wrote: > On Fri, Sep 10, 2004 at 01:09:07PM -0700, Greg KH wrote: > > On Tue, Sep 07, 2004 at 01:19:34PM +0200, David Zeuthen wrote: > > > > > > KERNEL="sr*", NAME="%k", SYMLINK="cdrom%e" > > > KERNEL="scd*", NAME="%k", SYMLINK="cdrom%e" > > > KERNEL="pcd*", NAME="%k", SYMLINK="cdrom%e" > > > KERNEL="hd[a-z]", PROGRAM="/bin/cat /proc/ide/%k/media", RESULT="cdrom", NAME="\%k", SYMLINK="cdrom%e" > > > KERNEL="fd[0-9]", NAME="%k", SYMLINK="floppy%e" > > > KERNEL="hd[a-z]", PROGRAM="/bin/cat /proc/ide/%k/media", RESULT="floppy", NAME=\"%k", SYMLINK="floppy%e" > > > > > > New patch is attached. > > > > Nice, I've applied this. > > > > How about sending a patch for the test/udev-test.pl script that adds a > > test for this new paramater, so we make sure to not break it in the > > future. > > Here are the tests for the enumeration character %e. I've added a option > string to be able to do a whole sequence of tests without node removal, > so we can skip the "remove" event and get an increasing number to append > to the name. After the sequence test the whole directory is cleaned for > the next tests. Ah, very nice. Applied, thanks. greg k-h ------------------------------------------------------- This SF.Net email is sponsored by: thawte's Crypto Challenge Vl Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam Camcorder. More prizes in the weekly Lunch Hour Challenge. Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m _______________________________________________ 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