Protection from the dreaded "rm -fr /"
Giorgos Keramidas
keramida at freebsd.org
Sat Oct 2 10:55:25 PDT 2004
On 2004-10-02 10:51, Tillman Hodgson <tillman at seekingfire.com> wrote:
> 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.
And a hell of a lot faster too.
This is the *only* reason why I initially wrote this.
More information about the freebsd-hackers
mailing list