[Guide] How to identify the build of other OS:es

Tutorials for Operating Systems, Applications etc can be posted here.
DiskingRound
User avatar
FTP Access
Posts: 1515
Joined: Thu May 01, 2014 10:26 pm
Location: Inside the space between . and I

Re: [Guide] How to identify the build of other OS:es

Post by DiskingRound »

IBM OS/2 Warp:
(also works with OS/2 2.x - untested with 1.30 Extended Edition)
1. Open the install (disk 0) img dump and drag the os2krnli file to the desktop.
2. Open os2krnli with notepad (or textedit if on a mac).
3. Do a search for "Internal revision". Next to that phrase is the revision/build number.
Image

os2fan2
User avatar
Donator
Posts: 1261
Joined: Sun Dec 30, 2007 8:12 am
Location: Brisbane, Queensland
Contact:

Re: [Guide] How to identify the build of other OS:es

Post by os2fan2 »

Most of the recent (ie 2.1 and later) OS/2 versions give the build on ver /r at the command prompt.

Note the cmd line for vers a.b gives 2.ab.1234 where 1234 is the OS level.

Take command/os2 gives OS/2 Warp Connect as 3.1, and since there is an OS/2 Warp, i use 3.1 to refer to the latter build.

Regarding DOS.

MS-DOS generally returns the value from the interrupt, as jj.mm (major-minor). Some exceptions apply

msdos 6.21 returns jj.21
msdos 7.xx and later return a string embedded in command.com, eg 4.10.2222. You can edit this yourself.
ntdos returns jj.mm.500, where jj.mm is the underlying DOS version.

PC-DOS from 6.0 returns a string embedded in command.com.
os2 dos returns 2.jm but answers to 20.jm to a DOSVER interrupt test.

You are better to run some third-party utility that intercepts the underlying interrupts, rather than reading command.com.

Winver returns a windows version, as does shell.dll (eg notepad -> help|about ). I've seen non-released versions here, eg WinOS2 3.11 (ie from the winos2 shell.dll running on top of windows 3.11).

Courage
User avatar
FTP Access
Posts: 1015
Joined: Thu Oct 18, 2012 1:59 pm

Re: [Guide] How to identify the build of other OS:es

Post by Courage »

Linux (Kernel Version):

Open a terminal, and enter the command:

Code: Select all

uname -r
The resulting output will be the version of the Linux kernel used on the system.

Image

Image

os2fan2
User avatar
Donator
Posts: 1261
Joined: Sun Dec 30, 2007 8:12 am
Location: Brisbane, Queensland
Contact:

Re: [Guide] How to identify the build of other OS:es

Post by os2fan2 »

MS-DOS and PC-DOS. xx.yy

"ver" generally returns the dos version. Some differences are known.

DOS 4.01 returns xx.(yy+1)
MS-DOS 6.21 returns xx.21
WinNT DOS returns xx.yy.500 (where xx.yy is typically 5.50)

PC-DOS 6.x and later returns a string embedded in COMMAND.COM
DOS95 returns a string embedded late in COMMAND.COM

These dos versions differ from the box-name. Command,com reports the version from a string in the exe file.
DOS 4.01 is actually 4.00
PC-DOS 6.10 is actually 6.00
MS-DOS 6.21 is actually 6.00
OS/2 DOS reports 20.xy where x.y is the OS/2 version. vers 1.x reports 10.xy.
DR-DOS returns the emulated DOS, but this is the default OSVER variable. Internally it uses a different build number.

MSD or 4DOS reports the dos by int30 call etc.

ExplicitNuM5
User avatar
FTP Access
Posts: 478
Joined: Mon Oct 14, 2013 2:13 am
Location: Los Angeles, CA

Re: [Guide] How to identify the build of other OS:es

Post by ExplicitNuM5 »

For Windows Vista and above, won't "slmgr.vbs /dlv" work?
XDA-Developers: mr_verystock
Facebook: ___ ___ng
Skype: hellohellohello148
Google +: okcn .aline
Tom's Hardware : okcnaline
OSBetaArchive: ExplicitNuM5

Tronky
FTP Access
Posts: 26
Joined: Mon Jan 04, 2016 11:24 pm

Re: [Guide] How to identify the build of other OS:es

Post by Tronky »

DiskingRound wrote:IBM OS/2 Warp:
(also works with OS/2 2.x - untested with 1.30 Extended Edition)
1. Open the install (disk 0) img dump and drag the os2krnli file to the desktop.
2. Open os2krnli with notepad (or textedit if on a mac).
3. Do a search for "Internal revision". Next to that phrase is the revision/build number.
It does work with OS/2 1.3x, however, the build number sequence is a bit odd.

For 1.30.x the build numbers seem to be 7.2xx

For 2.xx the build numbers seem to be 6.3xx

For 3.x the build numbers seem to be 8.xxx

There is no internal revision comment in OS/2 1.1x or OS/2 1.2x.

Darkstar
User avatar
Donator
Posts: 919
Joined: Fri May 14, 2010 1:29 pm
Location: Southern Germany

Re: [Guide] How to identify the build of other OS:es

Post by Darkstar »

for OpenVMS, the command is

Code: Select all

$ SHOW SYSTEM/NOPROCESS
OpenVMS V7.3  on node MYVAX   6-MAY-2016 15:06:39.90  Uptime  0 00:01:39
Some more details can be seen during boot:

Code: Select all

%SYSBOOT-I-SYSBOOT Mapping the SYSDUMP.DMP on the System Disk
%SYSBOOT-I-SYSBOOT SYSDUMP.DMP on System Disk successfully mapped
%SYSBOOT-I-SYSBOOT Mapping PAGEFILE.SYS on the System Disk
%SYSBOOT-I-SYSBOOT SAVEDUMP parameter not set to protect the PAGEFILE.SYS
   OpenVMS (TM) VAX Version V7.3     Major version id = 1 Minor version id = 0
%DECnet-I-LOADED, network base image loaded, version = 05.0E.00
From 7.3 onward, additional layered products and their versions can be seen by

Code: Select all

$ PRODUCT SHOW PRODUCT/FULL
----------------------------------- ----------- ------------ ----------------------------------- -----------------------------------
PRODUCT                             KIT TYPE    STATE        MAINTENANCE                         REFERENCED BY
----------------------------------- ----------- ------------ ----------------------------------- -----------------------------------
DEC VAXVMS DECNET_OSI V7.3          Full LP     Installed
DEC VAXVMS TCPIP V5.1-15            Full LP     Installed
DEC VAXVMS VMS V7.3                 Transition  Installed                                        DEC VAXVMS DECNET_OSI V7.3
                                                                                                 DEC VAXVMS TCPIP V5.1-15
----------------------------------- ----------- ------------ ----------------------------------- -----------------------------------

3 items found
Edit: Bruce Hamilton's UNIX Rosetta Stone Website might also be helpful for some...
I upload stuff to archive.org from time to time. See here for everything that doesn't fit BA

os2fan2
User avatar
Donator
Posts: 1261
Joined: Sun Dec 30, 2007 8:12 am
Location: Brisbane, Queensland
Contact:

Re: [Guide] How to identify the build of other OS:es

Post by os2fan2 »

Winver returns a version in shell.dll in Windows. I have had a 'winos2 version 3.11', which you don't get in OS/2, but under DOS. But that may actually exist with the OS/2 for Windows product, or the run WinOS2 under DOS apps.

If you run it under DOS, it returns a string in the proggie, except for winos2 winver, which does not run under DOS. I suspect that running MSD is the go here, since it gives the version-level correctly. The MS-DOS 6.x version is in the first few bytes of io.sys.

Post Reply