Windows OS and uname; compatability

Charles Wilson cygwin@cwilson.fastmail.fm
Tue Mar 1 02:37:00 GMT 2011


On 2/28/2011 11:49 AM, Fergus wrote:
> Thanks to a previous responder I now know that in response to uname:
> NT-5.0 = W2000
> NT-5.1 = XP
> NT-6.0 = Vista
> NT-6.1 = W7

That's very oversimplified, as the links posted by Barry B. will tell
you.  One thing you CAN do is use
   /usr/lib/csih/winProductName.exe
And it will use not just the kernel version, but other Windows Version
Info items to deduce EXACTLY which version of windows you're running.
To get that prog, you need to install the 'csih' package.

--
Chuck


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list