From owner-cvs-all@FreeBSD.ORG Mon Apr 9 23:13:41 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 F09C716A400; Mon, 9 Apr 2007 23:13:41 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.freebsd.org (Postfix) with ESMTP id 8BB1D13C457; Mon, 9 Apr 2007 23:13:41 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 00C4145CD9; Tue, 10 Apr 2007 01:13:39 +0200 (CEST) Received: from localhost (154.81.datacomsa.pl [195.34.81.154]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id CF809487FB; Tue, 10 Apr 2007 01:13:34 +0200 (CEST) Date: Tue, 10 Apr 2007 01:13:22 +0200 From: Pawel Jakub Dawidek To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Message-ID: <20070409231322.GX76673@garage.freebsd.pl> References: <200704091921.l39JLRuO093353@repoman.freebsd.org> <20070409224509.GI84176@tirith.brixandersen.dk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="v6gilOcl2gU05R9Q" Content-Disposition: inline In-Reply-To: <20070409224509.GI84176@tirith.brixandersen.dk> X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 User-Agent: mutt-ng/devel-r804 (FreeBSD) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-2.6 required=3.0 tests=BAYES_00 autolearn=ham version=3.0.4 Cc: Subject: Re: cvs commit: src/etc/rc.d Makefile hostid src/etc/defaults rc.conf 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: Mon, 09 Apr 2007 23:13:42 -0000 --v6gilOcl2gU05R9Q Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 10, 2007 at 12:45:09AM +0200, Henrik Brix Andersen wrote: > On Mon, Apr 09, 2007 at 07:21:27PM +0000, Pawel Jakub Dawidek wrote: > > pjd 2007-04-09 19:21:27 UTC > >=20 > > FreeBSD src repository > >=20 > > Modified files: > > etc/rc.d Makefile=20 > > etc/defaults rc.conf=20 > > Added files: > > etc/rc.d hostid=20 > > Log: > > Add rc.d/hostid script (turned on by default) which on first boot gen= erates > > UUID and stores it in /etc/hostid ($hostid_file) as well as sets kern= =2Ehostuuid > > and kern.hostid sysctls on every boot. > > =20 > > Hostid can be reset using '/etc/rc.d/hostid reset' command. > > =20 > > Hostid generation and setting can be turned off by setting variable > > hostid_enable to "NO" in /etc/rc.conf. >=20 > Can you shed some light on what this unique host ID can/will be used for? For example ZFS uses it to remember on which host it was imported last, so when you by accident try to import the pool on another host, it will print a warning and demand force import. In the future, it will be a great future once we implement variant/magic symlinks. Imagine file system exported via NFS to multiple hosts. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --v6gilOcl2gU05R9Q Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFGGsiSForvXbEpPzQRAsGVAKDUWEzTMTIboGRhzazs0xqdjh3q8QCfXFXL ml7hn+SUge4TW7ozzvgUzz8= =ilcf -----END PGP SIGNATURE----- --v6gilOcl2gU05R9Q--