Date: Tue, 10 Apr 2007 01:13:22 +0200 From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/etc/rc.d Makefile hostid src/etc/defaults rc.conf Message-ID: <20070409231322.GX76673@garage.freebsd.pl> In-Reply-To: <20070409224509.GI84176@tirith.brixandersen.dk> References: <200704091921.l39JLRuO093353@repoman.freebsd.org> <20070409224509.GI84176@tirith.brixandersen.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070409231322.GX76673>