Quote:
Clearly it could be designed so that accidental keypresses can't cause it to happen.

Clearly the rotary knob never screws up.

Regardless, the code would be huge (in kernel terms, anyway). The kernel as is knows how to read an ext2 filesystem, but not how to create one. You'd have to embed most of mke2fs in the kernel since the kernel can't expect there to be valid data on the hard drive since the whole purpose is to delete all data on the hard drive and recreate its layout.
_________________________
Bitt Faulk