[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference turris::digital_unix

Title:DIGITAL UNIX(FORMERLY KNOWN AS DEC OSF/1)
Notice:Welcome to the Digital UNIX Conference
Moderator:SMURF::DENHAM
Created:Thu Mar 16 1995
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:10068
Total number of notes:35879

9659.0. "OSFBASE??? subset == Digital UNIX V?.?" by EDSCLU::GARROD (IBM Interconnect Engineering) Tue Apr 29 1997 18:52

    What exactly is the relationship between the naming of the OSFBASEnnn
    subset and the Digital UNIX version?
    
    We've just discovered that the OSFBASE subset for V4.0B is OSFBASE410
    rather than OSFBASE40?. This is a bit of a pain for us because our
    installation scrips check for OSFBASE40?. The reason we did that
    is that we explicitly wanted the installation to fail for Digital UNIX
    V4.1 (because supposidly you are dropping dsupport for the draft 4
    Pthreads in V4.1 and since we currently use that our product won't
    work on V4.1) but work for all variants of V4.0.
    
    I thought the second digit was meant to be the minor version number of
    the product. I guess not. So since we've got it wrong please could you
    point me at a document that exactly describes the mapping between
    OSFBASE??? subset numbering convention and operating system version
    number.
    
    On OpenVMS there was a callback into VMSINSTAL where you could easily
    find out if the installed version of the operating system is greater or
    less than specified version numbers. Is there any STANDARDIZED canned
    procedures for doing something similar from Digital UNIX setld scripts?
    
    Thanks,
    
    Dave
    IBM Interconnect Engineering
T.RTitleUserPersonal
Name
DateLines
9659.1Try this ...NNTPD::"detlef@rto.dec.com"Detlef SchmierTue Apr 29 1997 20:195
Have a look at http://www.zk3.dec.com/unix_versions.html 
This seems to be the information you are looking for.

Detlef.
[Posted by WWW Notes gateway]
9659.2This won't help you much...SMURF::STRANGESteve Strange, UNIX FilesystemsTue Apr 29 1997 21:008
    If anything, http://www.zk3.dec.com/unix_versions.html shows that we're
    not very consistent in our numbering scheme.  And it only gives
    examples, not a description of how the scheme works.  Note that 3.0B
    was OSF305, while 4.0B is OSF410!  I think part of the problem is the
    subset number is often decided before the version number/letter.  I
    certainly don't see an obvious mapping between the two from this list.
    
    	Steve
9659.3This might help you more...SMURF::STRANGESteve Strange, UNIX FilesystemsTue Apr 29 1997 21:067
    Forgot to mention -- it may be safer to use 'uname -r' and 'uname -v'
    to get the version and rev number rather than the name of the subset. 
    This is what we used for the DCE/DFS installation stuff.  Given the
    history of the subset numbers, I wouldn't rely on them for anything
    other than major version number, and ultimately maybe not even that.
    
    	Steve
9659.4Maybe enhance unix_versions.html ?DECC::SULLIVANJeff SullivanTue Apr 29 1997 22:547
I think this is the definitive source for UNIX version information.
I use it often.

Maybe the OSF subset information could be added there?
I would also find that useful.

-Jeff
9659.54.1?QUARRY::reevesJon Reeves, UNIX compiler groupWed Apr 30 1997 20:057
But more to the point: what's this mythical 4.1 release?  As far as I know,
the last release to be assigned a "real" name is 4.0D (PTmin); for any future
release, I wouldn't place any bets on the official name.  Particularly if
you mean Steel.

If it were me, I'd check for the absence of the relevant libraries or headers
instead of a particular version number.
9659.6official answer coming...SMURF::JOHNFFri May 02 1997 14:287
    I've forwarded this note to the folks that own the namespace.  As
    far as I know, the subset numbering is now independent of the release
    version number.  My understanding is that this was done because often
    the version number isn't frozen until fairly late in the development
    cycle and changing subset control numbers is risky.
    
    John
9659.7official answerSEAN::davidsonD. Sean DavidsonFri May 02 1997 17:0042
The only relationship between the 3 digit version number on the OSF*
subsets and the version of the release is the first digit that we try
and maintain to indicate the major release number

	OSFBASE2??	V2.*
	OSFBASE3??	V3.*
	OSFBASE4??	V4.*

a short history

	OSFBASE350	V3.2C
	OSFBASE370	V3.2F
	OSFBASE375	V3.2G

	OSFBASE400	V4.0
	OSFBASE405	V4.0A
	OSFBASE410	V4.0B
	OSFBASE415	V4.0C

The normal way to determine and restrict subsets from loading on the
system is through the dependancy checking of the installed software.
For layered products this is done through the subset control program
(scp) during the pre load phase (PRE_L) just before the subset files
are dumped to the system.

Another way to check what version is installed on the system is to
examine the contents of the

	./usr/sys/conf/version.major
	./usr/sys/conf/version.minor
	./usr/sys/conf/version.variant

files on a V4.0 or later system.  For V4.0B a '4' is in the version.major
file, a '0' in the version.minor file and a 'B' in the variant file.

You cannot use uname because it does not return the letter designation of
a release.


Sean Davidson
Digital UNIX
Release Engineering
9659.8UNIX should follow its own rules?IOSG::MARSHALLWed May 14 1997 16:4014
>> the subset numbering is now independent of the release version number

That's a shame, as the DIGITAL UNIX "Guide to Preparing Product Kits" quite
clearly defines a direct relationship between the two.  See pages 2-6 (section
2.2.1) and 4-6 (section 4.2, table 4-2), which state that the three subset
digits should map, respectively, to major, minor and update components of the
version number.

So V4.0x ought to be OSF40x.  Or conversely OSF41x means, following UNIX's own
rules, V4.1x.

Not making any judgements here, just an observation.

Scott