* 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
* Need help reading a DEC-10 backup tape
@ 1993-04-19 1:23 Kurt Reisler
1993-04-20 16:56 ` Tony Brack
0 siblings, 1 reply; 3+ messages in thread
From: Kurt Reisler @ 1993-04-19 1:23 UTC (permalink / raw)
I am currently faced with the task of trying to read a couple of needed
files from a backup tape generated several years ago on a DEC-10, with a
VAX, running VMS 5.4. There is no one left who remembers what OS was
running on the DEC10 (or even what kind of DEC10 it was). Only useful
information I can get out of them is that it was a "backup tape".
Any suggestions?
Thanks in advance.
--
Kurt Reisler (UNISIG Chair, DECUS US Chapter)
Captain, UNISIG International Luge Team
Only a guest at klr@umbc4.umbc.edu
Are creative spellings like a patentable life form?
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: Need help reading a DEC-10 backup tape
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
0 siblings, 1 reply; 3+ messages in thread
From: Tony Brack @ 1993-04-20 16:56 UTC (permalink / raw)
In article <1qsutrINNjhv@umbc4.umbc.edu>, klr@umbc.edu (Kurt Reisler) writes:
>
> I am currently faced with the task of trying to read a couple of needed
> files from a backup tape generated several years ago on a DEC-10, with a
> VAX, running VMS 5.4. There is no one left who remembers what OS was
> running on the DEC10 (or even what kind of DEC10 it was). Only useful
> information I can get out of them is that it was a "backup tape".
>
> Any suggestions?
> Thanks in advance.
> --
> Kurt Reisler (UNISIG Chair, DECUS US Chapter)
> Captain, UNISIG International Luge Team
> Only a guest at klr@umbc4.umbc.edu
> Are creative spellings like a patentable life form?
--
Could you please be more specific... If it is a backup tape it could have been
written in any one of a number of modes (The operating system was MORE THAN LIKELY
TOPS-10 or maybe TOPS-20). These were *at least* 4 ways of writing to tapes on
these systems, and all were settable. Since the machine had a 36 bit architecture
4.5 bytes were required to write a word. The problem stemmed from "what to do about
the .5 bytes" ...
Sometimes it was written as:
4x8bit bytes followed by the trailing nybble encoded as a byte
4x8 bit bytes, the next 4x8 bit bytes and both trailing nybbles
4x8 bit bytes followd by the trailing and next leading nybble followd by the remaining 4x8
this was specified by "/MODE="
This has nothing to do with "BYTE" size... which was variable on the DEC-10...
mostly 5x7 bit bytes + 1 "extra" (5 bytes and a bit ...;-) were used to store
ASCII data...
Since this O/S was (towards the end) supported at the site, and sources were available
you may be able to dig up either manuals or actual source. There has been a *major*
drive by DEC to get rid of these machines (see DECUS west this year at Vegas). They
actually may *give* you such a program if you know who to contact. (I don't). I threw
my manuals out about 3-4 years ago...
Also... make sure that these are indeed BACKUP tapes and not DUMPER format... they're
different programs. If you can find a DEC-10/20 somewhere and run an appropriate version
of CHANGE after doing a restore, you can produce tapes that a VAX can read directly.
Tony Brack ][ Usenet: ......!utzoo!yunexus!brack
VMS & UNIX Technical Support ][ brack@ccs.yorku.ca
Computing & Communications Services ][ Bitnet: brack@yulibra
York University. ][ Voice: (416) 736-2100 x22687
4700 Keele St. ||
North York, Ontario M3J 1P3 ||
What's this coming up...
... sure hope it's friendly!
^ permalink raw reply [flat|nested] 3+ messages in thread* 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
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