> This is read from the kernel and comes from PROM, but a userland program does not
> have a direct access to anything like that.
well, there is hostid ...
hostid(1) User Commands hostid(1)
hostid - print the numeric identifier of the current host
The hostid command prints the identifier of the current host
in hexadecimal. This numeric value is likely to differ when
hostid is run on a different machine.
siva% ls -l /usr/bin/hostid
-r-xr-xr-x 1 bin 2940 May 2 1996 /usr/bin/hostid
No particular superuser requirements here.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to email@example.com
Please read the FAQ at http://www.tux.org/lkml/