From owner-freebsd-arch Mon Jul 29 5:38:16 2002 Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F333837B401 for ; Mon, 29 Jul 2002 05:38:12 -0700 (PDT) Received: from axl.seasidesoftware.co.za (axl.seasidesoftware.co.za [196.31.7.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1AC3C43E4A for ; Mon, 29 Jul 2002 05:38:11 -0700 (PDT) (envelope-from sheldonh@starjuice.net) Received: from sheldonh by axl.seasidesoftware.co.za with local (Exim 4.10) id 17Z9oP-000Au2-00; Mon, 29 Jul 2002 14:39:45 +0200 Date: Mon, 29 Jul 2002 14:39:45 +0200 From: Sheldon Hearn To: Dima Dorfman Cc: arch@freebsd.org Subject: Re: devfs ruleset initialization at boot time (was: cvs commit: src/sbin/devfs devfs.8 devfs.c extern.h rule.c ) Message-ID: <20020729123945.GB41804@starjuice.net> Mail-Followup-To: Dima Dorfman , arch@freebsd.org References: <200207280645.g6S6jUCo040872@freefall.freebsd.org> <20020728070706.4CDE63E1E@turbine.trit.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020728070706.4CDE63E1E@turbine.trit.org> User-Agent: Mutt/1.5.1i Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On (2002/07/28 07:07), Dima Dorfman wrote: > > Log: > > Implement this (quoted from the updated man page): If the first token > > of a rule specification is a single dash (``-''), rules are read from > > the standard input and the rest of the specification is ignored. > > phk originally suggested this as a way to copy rulesets (see the > EXAMPLES section of the man page), but I think it might also be useful > as a way to initialize rulesets from rc scripts. E.g., consider > having something like this in rc.conf: From a standards point of view, I think it would be cleaner to provide a -f option to devfs(8) that allows the operator to specify the file from which to read rules. Sorry to keep sending these suggestions after you've already done the work. Ciao, Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message