LWN.net Logo

rm -rf / limitation is from Solaris

rm -rf / limitation is from Solaris

Posted Apr 4, 2009 9:10 UTC (Sat) by tzafrir (subscriber, #11501)
In reply to: rm -rf / limitation is from Solaris by nix
Parent article: Shortening the rope

Hmmm.... when you accidentally run 'rm -rf /' do you take the time to add --preserve-root to the command-line?

That extra switch is nice. However according to the coreutils changelog, --preserver-root was made the default of rm on 2006-02-09 (didn't check to which version it applies).

That 2004 blog entry is after the Solaris guys successfully changed POSIX, which I assume takes its own extra time.


(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds