Subject: Re: Need quick way to crash NetBSD box.
To: None <thorpej@zembu.com>
From: James Chacon <jchacon@genuity.net>
List: port-i386
Date: 08/27/2000 00:30:32
>
>On Thu, Aug 24, 2000 at 10:39:16AM -0700, Brian Buhrow wrote:
>
> > 	Why not just modify /etc/fstab such that the entry for
> > the root filesystem is corrupted slightly.  this will cause it to panic on
> > mountroot, which should be a good test.  Then, boot off a floppy, mount the
> > root, modify /etc/fstab to be correct, and you're off and running again.
>
>No, that won't cause it to fail.  The initial mountroot is done by the
>kernel.
>
>You could always remove init, I suppose.  Or kill -9 it.

An accidental kill -9 of any user process shouldn't cause a system panic.
There's already code sprinkled throughout the kernel to treat init special
so why not make it immune to this as well?

James