Just fyi, on OS/390 or z/OS 1.x, gethostid returns the 32 bit IP address of the primary interface. Many applications written for the mainframe expect this behavior.
Steve Alan Cox wrote: > > > Linux then emulated this nifty tool, but did so sloppily.=20 > > Well ... for older PCs what we have is better than nothing, IMHO.=20 > > But again, should be retooled so that where the processor=20 > > supports a serial number, that is what gets reported.=20 > > (No comments about the privacy concerns. That is an application issue. > = > > Actually its a relevant issue for a lot of PC users - lots of daft binary > only apps use hostid blindly. The fact its configurable on the PC makes > life > much easier for many things. > > For S/390 you simply need to set the hostid in the file at boot > appropriately > by default. (/etc/hostid) > > Alan -- Steve Kotzmoyer [EMAIL PROTECTED] TCP/IP Monitor Development Home: (540) 253-5821 Landmark Systems Work: (703) 464-1695
