Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Apr 2007 07:20:22 +1000
From:      Peter Jeremy <peterjeremy@optushome.com.au>
To:        Andrew Pantyukhin <infofarmer@freebsd.org>
Cc:        Pawel Jakub Dawidek <pjd@freebsd.org>, freebsd-arch@freebsd.org
Subject:   Re: Host ID.
Message-ID:  <20070407212022.GH71995@turion.vk2pj.dyndns.org>
In-Reply-To: <cb5206420704070808t183dd708v489564d27c0d34dc@mail.gmail.com>
References:  <20070407120656.GD63916@garage.freebsd.pl> <cb5206420704070607j7afe5349r180151dac1ec3e92@mail.gmail.com> <20070407145154.GG63916@garage.freebsd.pl> <cb5206420704070808t183dd708v489564d27c0d34dc@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--IU5/I01NYhRvwH70
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On 2007-Apr-07 19:08:18 +0400, Andrew Pantyukhin <infofarmer@freebsd.org> w=
rote:
>Anyway, other systems also have a notion of hostid. It
>appears from this linux manpage that hostid was there
>in 4.2BSD, but got removed in 4.4BSD:
>
>http://www.die.net/doc/linux/man/man2/gethostid.2.html

Actually, the concept of hostid remained present.  4.4BSD changed
the preferred access mechanism from a syscall to a sysctl.  FreeBSD
has o{g,s}ethostid under COMPAT_43 and kern.hostid.

Note that the 4.4BSD, Lite1, Lite2 and final include code to extract
the hostid out of a SPARC ID prom.  I don't know if this is still
relevant to UltraSPARC machines.

--=20
Peter Jeremy

--IU5/I01NYhRvwH70
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (FreeBSD)

iD8DBQFGGAsW/opHv/APuIcRArJUAJ9uLvuTFQEd/j+kHhfCxYeqLCvPGACcCWAh
wKHbwxSaCn+YKC8iX+IeDk0=
=z1tz
-----END PGP SIGNATURE-----

--IU5/I01NYhRvwH70--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070407212022.GH71995>