* Is there DEC equivalent of "hostid()" (i.e., unique ID for machine)
1993-04-20 16:56 ` Tony Brack
@ 1993-04-20 19:32 ` Steve Holtsberg
1993-04-21 12:54 ` Dave Bernard
0 siblings, 1 reply; 3+ messages in thread
From: Steve Holtsberg @ 1993-04-20 19:32 UTC (permalink / raw)
Id there a programmatically accessible function that can be called under
DEC ULTRIX that will give a unique id for each machine? Also, is there
a shell command that will give the same id?
I know that the following will not work:
1. gethstid(2)
This returns an id that is set via sethostid, by root, in /etc/rc.local,
and is usually the IP address. Many machines can have the same IP address,
and since the id is settable via sethostid, it cannot be counted on as being
unique.
2. pfstat(8)
This one is really close. pfstat is a shell command that returns the ethernet
address (among other things), which is unique. However, there is no
corresponding system call that I know of. Does such a system call exist?
The shell command pfstat is not usable, because its output must be parsed,
and the format is not documented or guaranteed not to change in new releases.
Also, another question. I've seen notes indicating that pfstat resides
in /usr/bin and other notes saying it is in /usr/sbin/systemid. What's
the story?
Thanks in advance.
Steven Holtsberg
steveh@cwi.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* Is there DEC equivalent of "hostid()" (i.e., unique ID for machine)
@ 1993-04-20 19:36 Steve Holtsberg
0 siblings, 0 replies; 3+ messages in thread
From: Steve Holtsberg @ 1993-04-20 19:36 UTC (permalink / raw)
Id there a programmatically accessible function that can be called under
DEC ULTRIX that will give a unique id for each machine? Also, is there
a shell command that will give the same id?
I know that the following will not work:
1. gethstid(2)
This returns an id that is set via sethostid, by root, in /etc/rc.local,
and is usually the IP address. Many machines can have the same IP address,
and since the id is settable via sethostid, it cannot be counted on as being
unique.
2. pfstat(8)
This one is really close. pfstat is a shell command that returns the ethernet
address (among other things), which is unique. However, there is no
corresponding system call that I know of. Does such a system call exist?
The shell command pfstat is not usable, because its output must be parsed,
and the format is not documented or guaranteed not to change in new releases.
Also, another question. I've seen notes indicating that pfstat resides
in /usr/bin and other notes saying it is in /usr/sbin/systemid. What's
the story?
Thanks in advance.
Steven Holtsberg
steveh@cwi.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Is there DEC equivalent of "hostid()" (i.e., unique ID for machine)
1993-04-20 19:32 ` Is there DEC equivalent of "hostid()" (i.e., unique ID for machine) Steve Holtsberg
@ 1993-04-21 12:54 ` Dave Bernard
0 siblings, 0 replies; 3+ messages in thread
From: Dave Bernard @ 1993-04-21 12:54 UTC (permalink / raw)
>Id there a programmatically accessible function that can be called under
>DEC ULTRIX that will give a unique id for each machine? Also, is there
>a shell command that will give the same id?
>
Last I heard, there was no unique per-machine identifier on the DECstation
systems. Whereas with systems like Suns, ISVs use the hostid for licensing
purchases, on the DECsystems, ISVs usually use the ethernet hardware address
as a unique identifier.
Dave
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1993-04-21 12:54 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1993-04-20 19:36 Is there DEC equivalent of "hostid()" (i.e., unique ID for machine) Steve Holtsberg
-- strict thread matches above, loose matches on Subject: below --
1993-04-19 1:23 Need help reading a DEC-10 backup tape Kurt Reisler
1993-04-20 16:56 ` Tony Brack
1993-04-20 19:32 ` Is there DEC equivalent of "hostid()" (i.e., unique ID for machine) Steve Holtsberg
1993-04-21 12:54 ` Dave Bernard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox