Date: Mon, 20 Oct 2003 08:20:21 -0700 (PDT) From: Matt Peterson <matt@peterson.org> To: freebsd-bugs@FreeBSD.org Subject: Re: misc/58272: [patch] rc.d/diskless detection, dhcp rebuild Message-ID: <200310201520.h9KFKL0D081137@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR misc/58272; it has been noted by GNATS. From: Matt Peterson <matt@peterson.org> To: FreeBSD-gnats-submit@freebsd.org Cc: Dirk-Willem van Gulik <dirkx@webweaving.org>, phk@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 > http://wleiden.webweaving.org:8080/svn/node-config/factory/trunk/nodeconfig/ > 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 writable directory. > > +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. http://matt.peterson.org/FreeBSD/stripdown/diskless.diff
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200310201520.h9KFKL0D081137>