home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / std_unix / volume.23 / text0011.txt < prev    next >
Encoding:
Text File  |  1991-06-15  |  1.3 KB  |  30 lines

  1. Submitted-by: karish@mindcraft.com (Chuck Karish)
  2.  
  3. In article <125382@uunet.UU.NET> ernest@pegasus.dsg.tandem.com
  4. (Ernest Hua) writes:
  5. >What is the real definition of "sysname" field in the uname struct?
  6. >It seems that at some hardware vendors put in the operating system
  7. >revision (as 1003.1-1988 defines on p. 77, ugly green book).  But
  8. >others use "nodename" and "sysname" as equivalent.
  9.  
  10. The real definition, in the POSIX.1 context, anyway, is the one Mr. Hua
  11. cites: "Name of this implementation of the operating system".  In
  12. practice, vendors use the fields of the uname structure in very
  13. different ways that long predate POSIX.  It's useless to try to
  14. interpret these fields other than on an implementation-specific basis.
  15.  
  16. Another example of the differences we see in struct uname:  Some
  17. vendors use the "release" and "version" fields to convey major release
  18. and build/patch numbers for their implementation, while others use them
  19. to hold the release identifiers for the porting base from which their
  20. implementation was derived.  I've seen very different versions of a
  21. vendor's operating system both identified as "3.2.2".  Other vendors
  22. change the "version" field for each upgrade of the OS.
  23.  
  24.     Chuck Karish        karish@mindcraft.com
  25.     Mindcraft, Inc.        (415) 323-9000
  26.  
  27.  
  28. Volume-Number: Volume 23, Number 12
  29.  
  30.