Date: Sat, 07 Jan 2006 22:16:15 -0700 (MST) From: "M. Warner Losh" <imp@bsdimp.com> To: gpalmer@freebsd.org Cc: freebsd-stable@freebsd.org Subject: Re: devd and caseful device ID matching on 6.0 Message-ID: <20060107.221615.106545203.imp@bsdimp.com> In-Reply-To: <43C09F08.1080707@freebsd.org> References: <43C05270.60106@freebsd.org> <43C07B16.7050505@errno.com> <43C09F08.1080707@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
In message: <43C09F08.1080707@freebsd.org> Gary Palmer <gpalmer@freebsd.org> writes: : Sam Leffler wrote: : : > At one point I added shorthand logic in devd for things like vendor, : > device, subvendor, etc. that did numeric comparisons instead of : > regex's. It might be worthwhile to extend the grammar to have a : > numeric match operator. : : : Something like the attached patch? It seems to work in my test case, : although I'm pretty sure its not as defensive as it could be against bad : inputs. : : (note: The patch is against 6.0-STABLE, not head) This works. However, matches should already be case insensitive. If they aren't, then I need to investigate why not. Warner
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060107.221615.106545203.imp>