Xref: utzoo comp.unix.admin:1176 comp.unix.internals:2309 comp.unix.programmer:1295 Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!caen!news.cs.indiana.edu!msi.umn.edu!umeecs!hela!hela.iti.org!scs From: scs@iti.org (Steve Simmons) Newsgroups: comp.unix.admin,comp.unix.internals,comp.unix.programmer Subject: Re: How do you make your UNIX crash ??? Message-ID: Date: 12 Mar 91 16:11:36 GMT References: <690@tndsyd.oz.au> <513@bria> Organization: Industrial Technology Institute Lines: 26 In an article, tndsyd.oz.au!berny (Berny Goodheart) writes: >I am interested in finding out known ways to make your version of UNIX >crash. In article <513@bria> Michaoe Stefanik replies: >main() >{ >int fd; >long now; > time(&now); > if ( (fd = open("/dev/kmem",O_RDWR)) == -1 ) > return(1); > while ( write(fd,&now,sizeof(long)) == sizeof(long) ) > ; > close(fd); > return(0); >} Too verbose. On a Sun, try 'b etc/dump' at the '>' prompt. Do I need a smiley? -- "Our informal mission is to improve the love life of operators worldwide." Peter Behrendt, president of Exabyte. Quoted in Digital Review, Feb 4, 1991.