cvs commit: src/etc/rc.d hostid

Warner Losh imp at bsdimp.com
Wed May 23 18:48:35 UTC 2007


From: Doug Barton <dougb at 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


More information about the cvs-src mailing list