From owner-freebsd-current Sun Feb 2 11:31:22 2003 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 3C5F437B401 for ; Sun, 2 Feb 2003 11:31:21 -0800 (PST) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7BE0043F79 for ; Sun, 2 Feb 2003 11:31:20 -0800 (PST) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.6/8.12.3) with ESMTP id h12JVA1e080090; Sun, 2 Feb 2003 12:31:10 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Sun, 02 Feb 2003 12:30:30 -0700 (MST) Message-Id: <20030202.123030.27713537.imp@bsdimp.com> To: oberman@es.net Cc: ob@e-Gitt.NET, freebsd-current@FreeBSD.ORG Subject: Re: Question about devd concept From: "M. Warner Losh" In-Reply-To: <20030201233621.916935D04@ptavv.es.net> References: <20030201182012.GC97784@e-Gitt.NET> <20030201233621.916935D04@ptavv.es.net> X-Mailer: Mew version 2.1 on Emacs 21.2 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Consider the following patch. Since you have custom configuration, it might rely on other parts of the system being active before they will work. This patch moves devd from starting 'first' to starting before we have to mount the 'critical' remote disks. If you require critical remote disks to depend on devd, I might need to make a couple of changes to devd to call daemon after it has done the configuration actions for devices that match, but this should work for those people that use, say, /usr/local/bin/perl. There's also a couple of "fixes" to network1 that I can back out with these changes. Index: devd =================================================================== RCS file: /cache/ncvs/src/etc/rc.d/devd,v retrieving revision 1.3 diff -u -r1.3 devd --- devd 22 Dec 2002 22:18:41 -0000 1.3 +++ devd 2 Feb 2003 19:22:00 -0000 @@ -3,9 +3,9 @@ # $FreeBSD: src/etc/rc.d/devd,v 1.3 2002/12/22 22:18:41 dillon Exp $ # -# REQUIRE: rcconf +# REQUIRE: NETWORKING # PROVIDE: devd -# BEFORE: disks +# BEFORE: mountcritremote # KEYWORD: FreeBSD . /etc/rc.subr To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message