Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 02 Feb 2003 12:30:30 -0700 (MST)
From:      "M. Warner Losh" <imp@bsdimp.com>
To:        oberman@es.net
Cc:        ob@e-Gitt.NET, freebsd-current@FreeBSD.ORG
Subject:   Re: Question about devd concept 
Message-ID:  <20030202.123030.27713537.imp@bsdimp.com>
In-Reply-To: <20030201233621.916935D04@ptavv.es.net>
References:  <20030201182012.GC97784@e-Gitt.NET> <20030201233621.916935D04@ptavv.es.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030202.123030.27713537.imp>