Reply to post: Danger of rm -rf

Little warning: Deleting the wrong files may brick your Linux PC

Anonymous Coward
Anonymous Coward

Danger of rm -rf

I see that rm has the option "--one-file-system". Should that be the default, perhaps?

I once caused accidental damage by doing rm -rf chroot, where chroot had something else mounted in it.

(Though obviously the main problem described in the article is crap hardware. Hardware should always have a "reset to factory defaults" button. Hardware should never be brickable by software. Not even by malicious software.)

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon