what is hostuuid, hostid (for)?

2008-07-25 Thread Sandra Kachelmann
I just setup a new server with 7.0-RELEASE and saw the following lines
for the fist time when booting the system:

Setting hostuuid: 2231232f-4000--2333-aafbb88a88ca.
Setting hostid: 0x89e3310b.

What exactly are those for? Is it a unique string based on my hardware
based on a certain component? CPU maybe? Is it something that could be
determined under lets say Linux as well? I am asking because this
could become handy as a unique identifier for a piece of equipment
(for putting it on stock, re-using, inventory database, ...).

Sandra
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: what is hostuuid, hostid (for)?

2008-07-25 Thread Roland Smith
On Fri, Jul 25, 2008 at 04:26:21PM +0200, Sandra Kachelmann wrote:
 I just setup a new server with 7.0-RELEASE and saw the following lines
 for the fist time when booting the system:
 
 Setting hostuuid: 2231232f-4000--2333-aafbb88a88ca.
 Setting hostid: 0x89e3310b.
 
 What exactly are those for? Is it a unique string based on my hardware
 based on a certain component? 

See http://en.wikipedia.org/wiki/UUID and /etc/rc.d/hostid.

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpgOMW4x9OWV.pgp
Description: PGP signature