Q: hostid

From: Mike Galuza <mgaluza_at_dejarnette.com>
Date: Tue, 5 Nov 96 15:28:32 EST

I need access to some sort of system ID for a program I am writing.
On other UNIX systems we use hostid or sysinfo(SI_HW_SERIAL,..), but
these both return 0 under DU V3.2c and V4.0. On PC based OS's we usually
get the serial number of the hard drive via various system calls. I
can't seem to find a way to do that under DU. Anyone know how I can do
this? Or any other ideas of a system unique number that cannot be
changed by the user that I could access?

Thanks in advance.
I will summarize.

Mike

----------------------------------------------------------------------
Michael Galuza
DeJarnette Research Systems mgaluza_at_dejarnette.com
401 Washington Ave Suite 700 Voice: +1(410)583-0680 x691
Towson, MD 21204 Fax: +1(410)583-0696
----------------------------------------------------------------------
Received on Tue Nov 05 1996 - 21:50:48 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:47 NZDT