*BSD News Article 33180


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!yoyo.aarnet.edu.au!news.adelaide.edu.au!gateway.dircsa.org.au!cleese.apana.org.au!cleese.apana.org.au!not-for-mail
From: newton@cleese.apana.org.au (Mark Newton)
Newsgroups: comp.os.386bsd.development
Subject: Re: shlib_minor from 0 to 1
Date: 25 Jul 1994 23:09:13 +0930
Organization: cleese.apana.org.au Public Access UNIX +61-8-3736006
Lines: 68
Message-ID: <310fa1$c76@cleese.apana.org.au>
References: <3087d6$abn@quagga.ru.ac.za>
NNTP-Posting-Host: cleese.apana.org.au
X-Newsreader: TIN [version 1.1 PL8]

In article <3087d6$abn@quagga.ru.ac.za>, Geoff Rehmet (csgr@cs.ru.ac.za) wrote:

 > The only case in which executables will not run is when a 1.1.5
 > shared executable is run under 1.1.

I'd encourage you to examine that statement in a bit more detail.

My computer room contains a number of machines of differing architectures
and vintages.  Two of the machines are running FreeBSD.

The main server machine (cleese.apana.org.au) has been upgraded to
FreeBSD 1.1.5.  A secondary host (dotat.apana.org.au) has not yet been
upgraded -- it's still running 1.1release (its only point in life is as
a terminal server, so I can't really see the point in having it up there
on the cutting edge).

dotat only has a 40Mb hard disk in it.  20Mb of that is devoted to
root filesystem, the other 20Mb is set up as swap.  The system
gets the rest of its filesystems like this:

Filesystem       1K-blocks    Used   Avail Capacity  Mounted on
/dev/wd0a            17142   11461    3966    74%    /
proc                   130      17     112    13%    /proc
cleese:/usr         406382  190597  175146    52%    /usr
cleese:/var         151057  101289   34662    75%    /nfs/var
cleese:/local1      199465  108554   70964    60%    /nfs/local1
cleese:/local2      117375   55871   49766    53%    /nfs/local2
cleese:/local3      139554   94591   31007    75%    /nfs/local3
cleese:/local4      292188  258148    4821    98%    /nfs/local4

Now, the punch-line(s):  dotat has cleese's /usr filesystem
mounted read-only.  This includes /usr/lib, together with /usr/bin,
/usr/libexec, etc (/usr/local/bin is a symlink from /local3, but
that's irrelevent).

In addition to those hundreds of 1.1.5.1 binaries, dotat also has
several commands that have been compiled specifically for 1.1release
(such as our terminal server software).  

All this software uses the dynamic libraries from /usr/lib, which
are all 1.1.5.1-release libraries (revision number 1.1).

So:  We have a 1.1release kernel with 1.1.5.1 binaries running software
from both OS and shared library revisions with ease.  To the best
of my knowledge, your statement about 1.1 systems having trouble 
with 1.1.5 binaries is false (we haven't been getting any unexplained
behaviour here, anyway!)

What would lead you to believe that things are awry with this
configuration?

 >  This is however unlikely to cause
 > many people any inconvenience.

Damn right! :-)

 > I can assure you that I already have a few 1.1.5.1 systems up, which
 > are all running a lot of executables which were compiled under 1.1, and
 > there are absolutely no problems with this. 

I have a 1.1 system running shared executables from 1.1.5.1 :-)

   - mark
-- 
--------------------------------------------------------------------
I tried an internal modem,                newton@cleese.apana.org.au
     but it hurt when I walked.                          Mark Newton
----- Voice: +61-8-3735575 --------------- Data: +61-8-3736006 -----