Host ID.

Peter Jeremy peterjeremy at optushome.com.au
Sat Apr 7 21:42:11 UTC 2007


On 2007-Apr-07 19:08:18 +0400, Andrew Pantyukhin <infofarmer at freebsd.org> wrote:
>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.

-- 
Peter Jeremy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-arch/attachments/20070407/0664a92b/attachment.pgp


More information about the freebsd-arch mailing list