fault toleratant shell scripts
Bill Campbell
bill at celestial.com
Mon Mar 15 10:16:09 PST 2004
On Mon, Mar 15, 2004, Bill Vermillion wrote:
...
>So when the cd /lost+found failed, the following command
>rm -r * was performed on / with the resultant anguish.
One of the more interesting bugs I found was on the old Radio Shack Model
16 Xenix systems. If one was at the ``/'' directory and typed ``lpr *'',
the printing routines actually linked all the directories under root under
/usr/spool/lpd (I may have the print command and directory wrong as it's
been years since I ran Xenix). Needless to say it didn't print very well,
but if one attempted an ``rm -r /usr/spool/lpd/*'' it removed everything on
the system. The only workaround I found was to rename the print spool
directory, and make a new directory.
At least in those days, reinstalling Xenix only required about three eight
inch floppies for the base system and took about 20 minutes.
Bill
--
INTERNET: bill at Celestial.COM Bill Campbell; Celestial Software LLC
UUCP: camco!bill PO Box 820; 6641 E. Mercer Way
FAX: (206) 232-9186 Mercer Island, WA 98040-0820; (206) 236-1676
URL: http://www.celestial.com/
``I don't make jokes, I just watch the Government and report the facts...''
Will Rogers
More information about the Filepro-list
mailing list