From: Rafal Kustra (rafal@utstat.toronto.edu)
Date: 03/07/93


From: rafal@utstat.toronto.edu (Rafal Kustra (summer student))
Subject: Re: Linux Admin Horror Story...
Date: Sun, 7 Mar 1993 22:11:04 GMT

In article <1nb25fINN1mo@darkstar.UCSC.EDU> msb@cats.ucsc.edu (Maurice S. Barnum) writes:
>
>kfogel@mark1.cs (Karl Fogel) writes:
>
>>In article <1993Mar4.213038.22740@ucsu.Colorado.EDU> farrow@ucsu.Colorado.EDU (J. Scott Farrow) writes:
>
>>>Then the mistake:
>>>
>>>"rm libc.so.s"
>>>
[deleted]
>
>
>> Next time, DON'T WAIT FOR THE SYNC!!! You might be able to
>>save yourself if you hit the reboot button really quickly...
>

I wouldn't count on it. You may save yourself or screw up
your fs real bad

>A staticly linked binary or two wouldn't hurt either. I had a
>screw up related to linking to a corrupted shared library from
>a shortage of diskspace. Fortunately, the day before I'd compiled
>static versions of ln and cp. And I've got very simple, very
>braindead executables that do a simple "rm" or "mv" (calls to
>unlink() and rename() resp. with little/no error checking).
>

I have on beutifull solution - DO Not login as a root
unless you have to! And if you are root, than be REAL
carefull.
Now, there is also another solution: Get HJ Lu base
distribution system disks. (with root disk). And make an
bootable image on a floppy. Now, whenever a screw-up
occurs, you just boot with them and copy all you want.
This Base Distribution, Mr Lu provides, is of
indespesable value. Not only it saves your butt, but it
lets you upgrade your binaries really quick. (Like mines.
I started in .95 days w/o jump tables, and just when
shared libs were a novelty. So most of my binaries were
either static or ldd on real old libs w/o jump tables.
How to upgrade them without installing whole thing? Well
you know the answer now, BAse Distribution.)

I would like to take this moment to thank H.J. Lu for his
immense work. Also thanks to all other Linux
contributors.

                        Rafal

>--
>Maurice S. Barnum
> You have to believe in free will. || msb@cats.ucsc.edu
> You have no choice. || msb@cats.BITNET
> --- I.B. Singer || mbarnum@is.calstate.edu

-- 
/|| " Numbers exist only in our minds. There is no physical entity that
 ||  that _is_ number 1. If there were, 1 would be in a place of honor 
 ||  in some great museum of science, and past it would file a 
==== steady stream of mathematicians gazing at 1 in wonder and awe. "