Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 May 2005 01:24:01 +0400
From:      Boris Samorodov <bsam@ipt.ru>
To:        freebsd-stable@FreeBSD.org
Subject:   minor change to /etc/rc.d/var
Message-ID:  <20554958@srv.sem.ipt.ru>

next in thread | raw e-mail | index | archive | help
--=-=-=

Hi!


What do you think in minor change to /etc/rc.d/var:


--=-=-=
Content-Disposition: inline; filename=var.patch
Content-Description: patch to /etc/rc.d/var

--- var.orig	Sun May 29 01:05:47 2005
+++ var	Sun May 29 01:06:12 2005
@@ -28,7 +28,7 @@
 #
 
 # PROVIDE: var
-# REQUIRE: mountcritlocal
+# REQUIRE: mountcritremote
 
 . /etc/rc.subr
 

--=-=-=


If there are no NFS mountpoints at /etc/fstab, both variants are
equal. But if there are some and the host (which is booting) is a
diskless station, the change is critical. I was success in booting the
diskless station (from server with FreeBSD-5.4-RELEASE-p1) only after
applying this patch.

I do have at rc.conf.local:
-----
varmfs="YES"                                                                   
populate_var="YES"                                                              
-----

But the diskless station didn't boot. It stopped booting with multiple
errors, which showed that /var was not mounted. Only the patch did the
right thing.


WBR
-- 
bsam

--=-=-=--



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