Path: utzoo!utgpu!cunews!bnrgate!brtph3!brchh104!brchs1!bnr.ca!rice.edu!sun-spots-request From: matrix!venkat@uunet.uu.net (D Venkatrangan) Newsgroups: comp.sys.sun Subject: SUN OS version. Keywords: Miscellaneous Message-ID: <1044@brchh104.bnr.ca> Date: 2 Jan 91 21:03:42 GMT Sender: news@brchh104.bnr.ca Organization: Sun-Spots Lines: 8 Approved: Sun-Spots@rice.edu X-Sun-Spots-Digest: Volume 10, Issue 3, message 12 X-Note: Submissions: sun-spots@rice.edu, Admin: sun-spots-request@rice.edu I am looking for an system call or a kernel variable that gives the the version of the SUN OS (4.0.3/4.1). The kernel symbol "_version" points to a string "SunOS Release%d: no". So it looks like the version number is stored elsewhere... I do not want to parse the /etc/motd file. Please reply to uunet!matrix!venkat