Return to BSD News archive
Newsgroups: comp.os.linux.networking,comp.unix.bsd.freebsd.misc Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.hawaii.edu!news.uoregon.edu!hunter.premier.net!op.net!news.mathworks.com!zombie.ncsc.mil!nntp.coast.net!swidir.switch.ch!swsbe6.switch.ch!surfnet.nl!sun4nl!wirehub!news.euro.net!xs4all!plm.xs4all.nl!plm From: Peter Mutsaers <plm@xs4all.nl> Subject: Re: dynamic-vs-static linked /bin etc (was: Re: TCP latency) X-Newsreader: Gnus v5.2.26/Emacs 19.31 Sender: plm@localhost.xs4all.nl Organization: My Unorganized Home Lines: 27 Message-ID: <87afwvdgh6.fsf@localhost.xs4all.nl> References: <4paedl$4bm@engnews2.Eng.Sun.COM> <31E9D0CC.41C67EA6@dy <slrn4uthl2.ma1.liam@sweetums.lab.nz.eds.com> <4sn2bq$mmb@venus.mcs.com> <4so08d$kgo@news.inc.net> Date: Fri, 19 Jul 1996 22:29:41 GMT Xref: euryale.cc.adfa.oz.au comp.os.linux.networking:45873 comp.unix.bsd.freebsd.misc:24029 >> On 19 Jul 1996 12:49:17 GMT, nelson@cs.uwp.edu (Jeremy Nelson) >> said: JN> In article <4sn2bq$mmb@venus.mcs.com>, Leslie Mikesell JN> <les@MCS.COM> wrote: >> 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. JN> How again did you say you were going to do this without a JN> shell? Does linux mmap() in the shlibs? No shlib, no shell. JN> No shell, hell of a time booting into single user mode. No problem: You can boot into single user mode since the shlibs and dynamic loader reside in /lib, also available immediately when starting in single user mode. So there's no need for static linking in /bin or /sbin. Only if /lib is damaged you have a problem (but then, /bin/sh could be damaged too). In that case there's always an emergency boot floppy (with /bin/sh and /lib/* on it). I've done it like this for a long time without any problems. And because of experiments or changes I had to restore or rescue my system quite a few times. -- ______________________________________________________________________ Peter Mutsaers | Abcoude (Utrecht), | "Memento Mori" plm@xs4all.nl | the Netherlands |