From owner-cvs-all@FreeBSD.ORG Wed May 23 18:48:35 2007 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2081E16A400; Wed, 23 May 2007 18:48:35 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id D01A413C43E; Wed, 23 May 2007 18:48:34 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.13.8/8.13.4) with ESMTP id l4NIkK7w077068; Wed, 23 May 2007 12:46:20 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Wed, 23 May 2007 12:46:20 -0600 (MDT) Message-Id: <20070523.124620.71166273.imp@bsdimp.com> To: dougb@FreeBSD.org From: Warner Losh 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> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0 (harmony.bsdimp.com [127.0.0.1]); Wed, 23 May 2007 12:46:21 -0600 (MDT) 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 X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 May 2007 18:48:35 -0000 From: Doug Barton 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