|
|
Subscribe / Log in / New account

Bricking systems using rm

Bricking systems using rm

Posted Feb 12, 2016 5:17 UTC (Fri) by josh (subscriber, #17465)
In reply to: Bricking systems using rm by pjones
Parent article: Bricking systems using rm

--preserve-root is the default.

--one-file-system isn't. It probably should be, but unlike --preserve-root, --one-file-system might actually break real scripts in the wild.


to post comments

Bricking systems using rm

Posted Feb 22, 2016 12:54 UTC (Mon) by dvandeun (guest, #24273) [Link] (1 responses)

It would be a good start to provide a short option, e.g. -o, so that people would get into the habit of always typing rm -rfo when before they would have typed rm -rf. Doing the right thing should be convenient.

Bricking systems using rm

Posted Feb 27, 2016 2:22 UTC (Sat) by flussence (guest, #85566) [Link]

I'd suggest -x, since `du` already uses it as a short alias for --one-file-system.


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