Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!tut.cis.ohio-state.edu!ucbvax!agate!tornado.Berkeley.EDU!dpassage From: dpassage@tornado.Berkeley.EDU (David G. Paschich) Newsgroups: comp.unix.admin Subject: Re: How do you make your UNIX crash ??? Message-ID: <1991Mar19.044056.10212@agate.berkeley.edu> Date: 19 Mar 91 04:40:56 GMT References: <690@tndsyd.oz.au> <1768@eru.mt.luth.se> Sender: usenet@agate.berkeley.edu (USENET Administrator) Organization: ucb Lines: 24 In article jco@crane.cis.ufl.edu (Dumpmaster John) writes: > >Someone talked about a 3 line script to crash a unix box here (but I can't >find that message.) > >Anyway, what the script was: > >while (1) do > mkdir 1; cd 1 >end > >Minus some shell syntax. this is it. However, on newer OS's this won't >work. I think it has a minfree on the inodes as well, or some thing like >that. A while back on the machine run by the CS Undergrad Assn. here at UC Berkeley there was a tongue-in-cheek "Space Warrior" competition to try to get people to clean up their disk space. One guy won by writing a little program which malloc'ed 1 meg of memory until the disk was 99% full. This works on Apollos because the swap is kept in a "first-class file", not in a separate partition. David G. Paschich Open Computing Facility UC Berkeley dpassage@ocf.berkeley.edu "I'm so happy I can't stand myself" -- Adam Glass