Date: Wed, 23 May 2007 12:46:20 -0600 (MDT) From: Warner Losh <imp@bsdimp.com> To: dougb@FreeBSD.org Cc: cvs-src@FreeBSD.org, brooks@FreeBSD.org, rse@FreeBSD.org, cvs-all@FreeBSD.org, src-committers@FreeBSD.org Subject: Re: cvs commit: src/etc/rc.d hostid Message-ID: <20070523.124620.71166273.imp@bsdimp.com> In-Reply-To: <20070523095200.I46653@ync.qbhto.arg> References: <46532337.2040302@FreeBSD.org> <20070522172938.GA77003@lor.one-eyed-alien.net> <20070523095200.I46653@ync.qbhto.arg>
next in thread | previous in thread | raw e-mail | index | archive | help
From: Doug Barton <dougb@freebsd.org> Subject: Re: cvs commit: src/etc/rc.d hostid Date: Wed, 23 May 2007 09:52:28 -0700 (PDT) > On Tue, 22 May 2007, Brooks Davis wrote: > > > I think /etc or /boot is the right place and IIRC pjd had a reason why > > /etc was right. The problem with /var/db is that's it's not available > > until fairly late in the boot and hostid is needed for non-root disks. > > > > It's worth remembering that in the normal course of operation, > > /etc/hostid is written once per system lifetime. Making diskless users > > set it up by hand or as a symlink to somewhere writable seems harmless > > to me. > > That sounds reasonable. The problem with anything in '/' is that many people run FreeBSD systems with '/' completely read-only. But that also messes up a number of other things, which are typically dealt with via symlinks to a writable partition. Warner
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070523.124620.71166273.imp>