Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/etc Move the knowledge that /usr and /var should be mounted ...



details:   https://anonhg.NetBSD.org/src/rev/6b3d09a60efb
branches:  trunk
changeset: 472388:6b3d09a60efb
user:      nathanw <nathanw%NetBSD.org@localhost>
date:      Wed Apr 28 23:32:29 1999 +0000

description:
Move the knowledge that /usr and /var should be mounted early from
rc.subr to the default rc.conf.
While this is no longer necessary to supress noise,
it increases the clarity of the situation and removes
one more bit of what should be adjustable configuration
from scripts that site admins shouldn't have to edit.

Addresses PRs misc/7406 and (partially) bin/7491.

diffstat:

 etc/rc.conf |  6 +++---
 etc/rc.subr |  4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)

diffs (38 lines):

diff -r 287ca72b3dd5 -r 6b3d09a60efb etc/rc.conf
--- a/etc/rc.conf       Wed Apr 28 23:27:01 1999 +0000
+++ b/etc/rc.conf       Wed Apr 28 23:32:29 1999 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: rc.conf,v 1.49 1999/04/21 21:58:29 jwise Exp $
+#      $NetBSD: rc.conf,v 1.50 1999/04/28 23:32:29 nathanw Exp $
 #
 # see rc.conf(5) for more information.
 
@@ -27,8 +27,8 @@
 # related to Internet domain names.
 domainname=""                          # if blank, use /etc/defaultdomain
 
-# Filesystems (besides /usr and /var) to mount early in boot-up
-critical_filesystems=""
+# Filesystems to mount early in boot-up
+critical_filesystems="/usr /var"
 
 # Set this to YES if you have purposefully setup no swap partitions and
 # don't want to be warned about it
diff -r 287ca72b3dd5 -r 6b3d09a60efb etc/rc.subr
--- a/etc/rc.subr       Wed Apr 28 23:27:01 1999 +0000
+++ b/etc/rc.subr       Wed Apr 28 23:32:29 1999 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: rc.subr,v 1.8 1999/04/13 02:15:49 cjs Exp $
+#      $NetBSD: rc.subr,v 1.9 1999/04/28 23:32:29 nathanw Exp $
 # functions used by various rc scripts
 
 #
@@ -34,7 +34,7 @@
 #
 fstab=/etc/fstab
 mount_critical_filesystems() {
-       for fs in /usr /var $critical_filesystems; do
+       for fs in $critical_filesystems; do
                if [ $1 = local ] && ! islocalfs $fs; then
                        continue
                fi



Home | Main Index | Thread Index | Old Index