UNIX-PC Unix version (2 or 3)

Richard Stevens stevens at hsi.UUCP
Fri Apr 29 22:47:12 AEST 1988


In article <135 at sysadm.UUCP>, bjorn at sysadm.UUCP (Administration Login) writes:
> you are running Unix V release 2.
> 

The 3b1 UNIX is truly a hybrid of System V, Release 2.0 (enhanced version)
and System V, Release 3.0.  It contains the demand paging that came out
with the enhanced version of System 5.2.  *But* it also contains
mandatory (yes, mandatory) record locking, and shared libraries,
which didn't officially appear until System 5.3.  However, it doesn't
contain the other goodies that appeared with 5.3: RFS, Streams, TLI, TPI.
It looks like they took the 3b1 release somewhere between 5.2 and 5.3.

One note about the record locking: the fcntl(2) and lockf(3) man pages
imply that the record locking is either advisory or mandatory,
and both reference you to the chmod(2) man page for details.  However,
nothing on the chmod(2) man page mentions it.  If you have the 5.3
manuals, you'll find that what chmod should have mentioned is that *if*
you set the sgid bit on and the group-execute bit off for a given file,
then the record locking for that file is mandatory, not advisory.
Under 5.3 the ls(1) command recognizes this and prints 'l' to indicate
that mandatory record locking is enabled for the file, but the 3b1
ls doesn't do this.  All the more evidence that they took the 3b1 version
somewhere between 5.2 and 5.3 and never got back to it and never got
all the pieces together (i.e., documentation) for what they did ship.

	Richard Stevens
	Health Systems International, New Haven, CT
           { uunet | ihnp4 } ! hsi ! stevens



More information about the Comp.sys.att mailing list