From owner-freebsd-arch@FreeBSD.ORG Sat Apr 7 20:31:40 2007 Return-Path: X-Original-To: freebsd-arch@freebsd.org Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4EEEA16A402; Sat, 7 Apr 2007 20:31:40 +0000 (UTC) (envelope-from ceri@submonkey.net) Received: from shrike.submonkey.net (cpc3-cdif2-0-0-cust64.cdif.cable.ntl.com [81.106.128.65]) by mx1.freebsd.org (Postfix) with ESMTP id F25DC13C484; Sat, 7 Apr 2007 20:31:39 +0000 (UTC) (envelope-from ceri@submonkey.net) Received: from ceri by shrike.submonkey.net with local (Exim 4.66 (FreeBSD)) (envelope-from ) id 1HaHZS-000MXg-Ts; Sat, 07 Apr 2007 21:31:38 +0100 Date: Sat, 7 Apr 2007 21:31:38 +0100 From: Ceri Davies To: Andrew Pantyukhin Message-ID: <20070407203138.GL90410@submonkey.net> References: <20070407120656.GD63916@garage.freebsd.pl> <20070407145154.GG63916@garage.freebsd.pl> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="qyHYMwAXsHLOQihY" Content-Disposition: inline In-Reply-To: X-PGP: finger ceri@FreeBSD.org User-Agent: Mutt/1.5.14 (2007-02-12) Sender: Ceri Davies Cc: Pawel Jakub Dawidek , freebsd-arch@freebsd.org Subject: Re: Host ID. X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Apr 2007 20:31:40 -0000 --qyHYMwAXsHLOQihY Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Apr 07, 2007 at 07:08:18PM +0400, Andrew Pantyukhin wrote: > On 4/7/07, Pawel Jakub Dawidek wrote: > >On Sat, Apr 07, 2007 at 05:07:25PM +0400, Andrew Pantyukhin wrote: > >> - Is Windows-style hardware ID's hashing totally ruled out? > > > >I know nothing about it... >=20 > Well, maybe something like hashing MAC of the first NIC > to get the initial ID... But then there's always the > probability that we initialize several systems putting > the same NIC into each of them... >=20 > >> - How does it work in other OS'es? (e.g. solaris /bin/hostid) > > > >On OpenSolaris, if I understand the code right, hostid is derived from > >hw_serial, and hw_serial is taken from: > > > > * On sparc machines, read hw_serial from the firmware at boot time > > * and simply assert Sun is the hardware provider. Hmm. > >[...] > > * On x86 machines, read hw_serial, hw_provider and srpc_domain from > > * /etc/bootrc at boot time. >=20 > There's even a business [1] selling software to change > Solaris hostid for ??49. Should I squat freebsdhostid.com? :) >=20 > [1] http://www.solarishostid.com/ Hmm. The host id lives on the, trivially swappable, SCC on a number of recent Sun systems. Ceri --=20 That must be wonderful! I don't understand it at all. -- Moliere --qyHYMwAXsHLOQihY Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFGF/+qocfcwTS3JF8RAihDAKDGLV3TGMNbaQT8ro1V3uNdfftjDgCggmBo 7U73IgmmypR0Tt5kAjqmA34= =VRF1 -----END PGP SIGNATURE----- --qyHYMwAXsHLOQihY--