*BSD News Article 74175


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!nntp.coast.net!news-res.gsl.net!news.gsl.net!swrinde!elroy.jpl.nasa.gov!news.msfc.nasa.gov!sol.ctr.columbia.edu!news.mindlink.net!van-bc!ddsw1!news.mcs.net!not-for-mail
From: les@MCS.COM (Leslie Mikesell)
Newsgroups: comp.os.linux.networking,comp.unix.bsd.freebsd.misc
Subject: Re: dynamic-vs-static linked /bin etc (was: Re: TCP latency)
Date: 18 Jul 1996 23:19:06 -0500
Organization: /usr/lib/news/organi[sz]ation
Lines: 27
Message-ID: <4sn2bq$mmb@Venus.mcs.com>
References: <4paedl$4bm@engnews2.Eng.Sun.COM> <87k9w6g6u4.fsf@localhost.xs4all.nl> <31E9D0CC.41C67EA6@dy <slrn4uthl2.ma1.liam@sweetums.lab.nz.eds.com>
NNTP-Posting-Host: venus.mcs.com
Xref: euryale.cc.adfa.oz.au comp.os.linux.networking:45762 comp.unix.bsd.freebsd.misc:23980

In article <slrn4uthl2.ma1.liam@sweetums.lab.nz.eds.com>,
Liam Greenwood <Liam.Greenwood@nz.eds.com> wrote:
>On Wed, 17 Jul 1996 20:28:58 GMT, Peter Mutsaers <plm@xs4all.nl> wrote:
>> 
>> Yes, /bin/sh (a link from /bin/bash) is indeed dynamically linked. In
>> fact on any Linux installation I know everything in /sbin and /bin/is
>> dynamically linked. I stil think it is a waste of diskspace that this
>> isn't true for FreeBSD; there is no need to link these statically
>> as long as all shared libraries reside in /lib (on the root filesystem
>> too).
>> 
>	Well, I'm going to (next time I get some time - say year 2010 :-(
>make sure that _all_ the binaries I need to boot single user are statically
>linked.  Currently with the distributions I've been using if you make 
>a little mistake with shared libraries not only can you make your system
>unuseable but unbootable.  Frankly I can afford the disk space easier than
>I can afford the risk.

Huh?  What does a floppy cost these days - maybe $.50?  Or use one of the
ones the AOL keeps mailing out...    A few minutes with the 'yard' utility
will get you a bootable floppy with a compressed ramdisk image on the
same or a second disk.  You can recover more than a mistake with shared
libs with an appropriate toolkit - or just use it to reload your backup
tape.

Les Mikesell
  les@mcs.com