misc/58272: [patch] rc.d/diskless detection, dhcp rebuild
matt at peterson.org
Mon Oct 20 08:20:21 PDT 2003
The following reply was made to PR misc/58272; it has been noted by GNATS.
From: Matt Peterson <matt at peterson.org>
To: FreeBSD-gnats-submit at freebsd.org
Cc: Dirk-Willem van Gulik <dirkx at webweaving.org>, phk at freebsd.org
Subject: Re: misc/58272: [patch] rc.d/diskless detection, dhcp rebuild
Date: Mon, 20 Oct 2003 08:11:21 -0700
On Mon, Oct 20, 2003 at 07:33:10AM -0700, Dirk-Willem van Gulik wrote:
> Comparing this to
> where do the same.
> > 3. Move newalias rebuild, only if sendmail is enabled
> We moved this to /var/run with a link from /etc
> > 4. Re-work DHCP domain-name & DNS to use kenv dhcp.* values (plumbed
> > from PXE boot loader) OR read from dhclient.leases (in the case of
> > r/o flash using DHCP).
> And same for resolv.conf to /var/run - as dhclient will actualy block/hang
> when it cannot write its resolv.conf to /etc.
Right, I assume resolv.conf and other etc files are sym-link to a
> > +rootdev=`sysctl -n kern.rootdev`
> > +ro_test=`mount | grep $rootdev | grep read`
> Rather than detect we also found it useful to have this under
> mount_rw_root="NO sort of control.
Ahh, you mean 'root_rw_mount', ya; totally, I've updated the patch to
use vs. the ghetto detection method.
More information about the freebsd-bugs