From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Date: Tue, 02 Dec 2003 18:04:26 +0000 Subject: Re: [ANNOUNCE] udev 007 release Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Tue, Dec 02, 2003 at 06:42:04PM +0100, Kay Sievers wrote: > Yes, this is already working in my tree: > REPLACE, KERNEL="tty[0-9]*", NAME="vc/%n" > > > Dec 2 18:30:57 pim udev[10109]: build_kernel_number: kernel_number='49' > Dec 2 18:30:57 pim udev[10109]: strncmp_wildcard: fnmatch p:ttyS* s:tty49 r:1 > Dec 2 18:30:57 pim udev[10109]: strncmp_wildcard: fnmatch p:tty[0-9]* s:tty49 r:0 > Dec 2 18:30:57 pim udev[10109]: apply_format: substitute kernel number '49' > Dec 2 18:30:57 pim udev[10109]: udev_add_device: name='vc/49' > Dec 2 18:30:57 pim udev[10109]: create_node: mknod(/udev/vc/49, 020666, 4, 49) > > > It's based on libc's fnmatch(), that supports (*, ?, []). > http://developer.novell.com/ndk/doc/libc/index.html?page=/ndk/doc/libc/libc_enu/data/amsgxku.html > > But I have to port it to klibc. > I will do this tomorrow if nobody comes up with a better idea :) That looks like a good idea to me. thanks, greg k-h ------------------------------------------------------- This SF.net email is sponsored by OSDN's Audience Survey. Help shape OSDN's sites and tell us what you think. Take this five minute survey and you could win a $250 Gift Certificate. http://www.wrgsurveys.com/2003/osdntech03.php?site=8 _______________________________________________ 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