Protection from the dreaded "rm -fr /"

Tillman Hodgson tillman at seekingfire.com
Sat Oct 2 09:51:56 PDT 2004


On Sat, Oct 02, 2004 at 10:42:16AM -0500, Sean Farley wrote:
> Why not default on?  root will not run 'rm -rf /' on purpose very often.
> Once will be enough.  :)  Also, when and why would someone want to do
> this?

Exactly. Who would expect `rm -rf /` to actually succeed? It's not only
dangerous, it doesn't work in a useful way ;-)

If one is thinking about `rm -rf /`, `newfs` is probably the right
answer.

-T


-- 
"I have the attention span of a strobe lit goldfish, please get to the
 point quickly!"
    -- Seen on Slashdot.org


More information about the freebsd-hackers mailing list