Protection from the dreaded "rm -fr /"
Mike Meyer
mwm at mired.org
Sat Oct 2 15:56:58 PDT 2004
In <20041002081928.GA21439 at gothmog.gr>, Giorgos Keramidas <keramida at FreeBSD.org> typed:
> John Beck, who works for Sun, has posted an entry in his blog yesterday
> about "rm -fr /" protection, which I liked a lot:
> http://blogs.sun.com/roller/page/jbeck/20041001#rm_rf_protection
>
> His idea was remarkably simple, so I went ahead and wrote this patch for
> rm(1) of FreeBSD:
Aw, but watching how systems fail when you do "rm -rf /" after you
take them out of service is so entertaining.
<mike
--
Mike Meyer <mwm at mired.org> http://www.mired.org/consulting.html
Independent Network/Unix/Perforce consultant, email for more information.
More information about the freebsd-hackers
mailing list