rm -rf -Mitigating the dangers
Valeri Galtsev
galtsev at kicp.uchicago.edu
Sun Apr 17 19:03:07 UTC 2016
On Sun, April 17, 2016 12:10 pm, Odhiambo Washington wrote:
> I am wondering if I should place a feature request on this or just do it
> my
> way:)
>
> With great power comes great responsibility and as such I think there
> should be a wrapper around rm to warn sysadmins that what they are about
> to
> do with -rf is dangerous, yes?
>
> Read input from sysadmin 3 times, looking strictly for their confirmation
> before effecting the `rm -rf`.
This reminds me MS Windows of really old times asking you over and over
again: Are you sure?, Are you really-really truly-truly sure? ;-) The
great thing is: in FreeBSD those who want this can make it this way for
themselves (as it was suggested by others) - without affecting those who
don't want it.
And as wise person once told: my plan is I have a good backup.
Valeri
>
> Could it be that what I am smoking/drinking is the issue here or I have
> your support? LOL
>
>
>
> --
> Best regards,
> Odhiambo WASHINGTON,
> Nairobi,KE
> +254 7 3200 0004/+254 7 2274 3223
> "Oh, the cruft."
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at freebsd.org"
>
++++++++++++++++++++++++++++++++++++++++
Valeri Galtsev
Sr System Administrator
Department of Astronomy and Astrophysics
Kavli Institute for Cosmological Physics
University of Chicago
Phone: 773-702-4247
++++++++++++++++++++++++++++++++++++++++
More information about the freebsd-questions
mailing list