From owner-freebsd-current@FreeBSD.ORG Fri Feb 13 07:59:28 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9BFE816A4CE for ; Fri, 13 Feb 2004 07:59:28 -0800 (PST) Received: from smtp.des.no (flood.des.no [217.116.83.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6D7F343D2F for ; Fri, 13 Feb 2004 07:59:28 -0800 (PST) (envelope-from des@des.no) Received: by smtp.des.no (Pony Express, from userid 666) id 132695309; Fri, 13 Feb 2004 16:59:27 +0100 (CET) Received: from dwp.des.no (des.no [80.203.228.37]) by smtp.des.no (Pony Express) with ESMTP id E30BD5308; Fri, 13 Feb 2004 16:59:19 +0100 (CET) Received: by dwp.des.no (Postfix, from userid 2602) id 6F82C33C6F; Fri, 13 Feb 2004 16:59:19 +0100 (CET) To: Guido van Rooij References: <20040213113134.GA11021@gvr.gvr.org> <20040213144338.GA13380@gvr.gvr.org> <20040213154946.GA14227@gvr.gvr.org> From: des@des.no (Dag-Erling =?iso-8859-1?q?Sm=F8rgrav?=) Date: Fri, 13 Feb 2004 16:59:19 +0100 In-Reply-To: <20040213154946.GA14227@gvr.gvr.org> (Guido van Rooij's message of "Fri, 13 Feb 2004 16:49:46 +0100") Message-ID: User-Agent: Gnus/5.090024 (Oort Gnus v0.24) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on flood.des.no X-Spam-Level: X-Spam-Status: No, hits=0.0 required=5.0 tests=AWL autolearn=no version=2.63 cc: current@freebsd.org Subject: Re: usb devices and devfs settings X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Feb 2004 15:59:28 -0000 Guido van Rooij writes: > IMHO all that is needed is a rewrite of devfs.conf to the ruleset approach > and rewrite /etc/rc.d/devfs to apply that ruleset. Correct? There is already code in /etc/rc.subr and /etc/rc.d/devfs to load and apply rulesets, but it is undocumented. You should probably try to add an option to devfs(8) to have it read an entire ruleset from a file (like ipfw does); that would allow you to get rid of about 70 lines in /etc/rc.subr and greatly speed up the process of installing rulesets. DES --=20 Dag-Erling Sm=F8rgrav - des@des.no