Re: Host ID.



On 2007-Apr-07 19:08:18 +0400, Andrew Pantyukhin <infofarmer@xxxxxxxxxxx> 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

Attachment: pgpVKkn3ENyfg.pgp
Description: PGP signature



Relevant Pages

  • Re: Host ID.
    ... probability that we initialize several systems putting ... On OpenSolaris, if I understand the code right, hostid is derived from ... read hw_serial from the firmware at boot time ... appears from this linux manpage that hostid was there ...
    (freebsd-arch)
  • Re: How To Display Serial Number?
    ... Scott Howard wrote: ... Burning is the process of writing to a PROM, there are almost not PROM available today. ... In most systems the hostid is stored in an EEPROM, ... new NVRAM chips can be made with the old hostid for some systems. ...
    (comp.unix.solaris)
  • Re: How To Display Serial Number?
    ... the hostid into the NVRAM. ... Burning is the process of writing to a PROM, there are almost not PROM available today. ... The NVRAM chips are inter-swappable amongst the same hardware. ... I wouldput my life on that there is no serialnumber in the world of any device that you can be sure it REALLY unique due to a process of relabled in factory. ...
    (comp.unix.solaris)
  • Re: How To Display Serial Number?
    ... if the high order bit is set, ... So different rules for generating the hostid have applied over time on ... SPARC, and on x86, it's not derived from anything in hardware/firmware ... best idea I've seen is to manually store it in the eeprom oem-banner ...
    (comp.unix.solaris)
  • Changing hostid on sparcs?
    ... I'm supporting a client that has a mission critical app that's ... Sparc 2 running SunOS 4.1.3. ... possible to change the hostid of a later version sparc, ...
    (comp.unix.solaris)