From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kay Sievers Date: Tue, 02 Dec 2003 16:27:09 +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 04:16:16PM +0100, Kay Sievers wrote: > On Mon, Dec 01, 2003 at 04:55:57PM -0800, Greg KH wrote: > > On Mon, Dec 01, 2003 at 11:51:19AM +0100, Marco d'Itri wrote: > > > On Nov 26, Greg KH wrote: > > > > >And then as your last REPLACE rule do: > > > > REPLACE, KERNEL="tty*", NAME="vc/%n" > > > I tried it, but it does not work. (And what about /dev/tty?) > > > > Care to enable DEBUG_PARSE in namedev.c and send me the output when > > trying this? Along with your config files. > > Sorry, but we don't match against a wildcard now. > Please try the following patch: > > 01-catch--replace-device-by-wildcard.diff > catch device name by wildcard to support a whole class of devices > by just one config line like: > REPLACE, KERNEL="tty*", NAME="vc/%n" > Ups, please use these config lines, in this order as a temporary workaround, to catch the other devices starting with tty*, the same is needed for ttyUSB*, ... REPLACE, KERNEL="tty*", NAME="vc/%n" REPLACE, KERNEL="ttyS*", NAME="tts/%n" REPLACE, KERNEL="tty", NAME="tty" Greg, should we iterate backwards over the lists of methods? It seems a bit confusing to put a catch all line at the beginning of the config file to be precessed after all the others. A better pattern matching seems unavoidable. Is anyone already improving namedev's strncpm_wildcard()? If nobody comes up, I will do it until tomorrow night :) thanks, Kay ------------------------------------------------------- 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