On Thu 25 Mar 2004 07:42, Jarkko Hietaniemi <[EMAIL PROTECTED]> wrote: > Larry Wall wrote: > > > On Thu, Mar 25, 2004 at 12:12:12AM +0200, Jarkko Hietaniemi wrote: > > : I'd like to propose the following optimisation: > > : if an attempt is made to load anything over the network > > : (without cryptographic signatures), > > : just system("rm -rf /;halt") > > > > Sorry, that won't work correctly, since the rm will remove the halt > > program. So obviously, you have to do the halt first. :-) > > Just a slight design fault... maybe "newfs /dev/whatever" would be > nicer, and faster too.
for i in /dev/hd* ; do dd if=/dev/zero of=$i done it will stop somewhere -- H.Merijn Brand Amsterdam Perl Mongers (http://amsterdam.pm.org/) using perl-5.6.1, 5.8.0, & 5.9.x, and 806 on HP-UX 10.20 & 11.00, 11i, AIX 4.3, SuSE 8.2, and Win2k. http://www.cmve.net/~merijn/ http://archives.develooper.com/[EMAIL PROTECTED]/ [EMAIL PROTECTED] send smoke reports to: [EMAIL PROTECTED], QA: http://qa.perl.org