RCP
COTTRELL, JAMES
cottrell at nbs-vms.arpa
Wed Mar 12 11:45:30 AEST 1986
/*
> Regarding the BSD "feature" of trashing files if you happen
> to forget which host you are on and do an rcp of a file onto
> itself:
>
[mapping explained]
> To facilitate this type of mapping, we (re)introduced the
> concept of machine-id, or mid.
>
> Now, with every host in our network assigned a unique mid,
> it is an easy matter to fetch the mids of both files, and
> thus protect against the BSD behavior.
>
> And a side comment/question: The "hostid" concept of 4.2BSD
> would seem to have been a start at "machine-ids", but then
> they went and equated it with Internet address (which of
> course completely defeats the benefits). Anybody know what
> Berkeley had in mind for "hostid"?
I jumped to respond at this a bit too quickly I suppose.
The `internet address' should be unique unless you are a gateway
or connected to more than one network. In any case, picking the
`dominant' network and sing its internet address as `hostid'
should work.
> PS: Or is that "kramden"?
I don't know. But at least I can spell `Norton'.
jim cottrell at nbs
*/
------
More information about the Comp.unix.wizards
mailing list