Rm (Unix) - Protection of The Filesystem Root

Protection of The Filesystem Root

Sun Microsystems introduced "rm -rf /" protection in Solaris 10, first released in 2005. Upon executing the command, the system now reports that the removal of / is not allowed. Shortly after, the same functionality was introduced into FreeBSD version of rm utility. GNU rm refuses to execute rm -rf / if the --preserve-root option is given, which has been the default since version 6.4 of GNU Core Utilities was released in 2006.

Read more about this topic:  Rm (Unix)

Famous quotes containing the words protection of, protection and/or root:

    No: until I want the protection of Massachusetts to be extended to me in some distant Southern port, where my liberty is endangered, or until I am bent solely on building up an estate at home by peaceful enterprise, I can afford to refuse allegiance to Massachusetts, and her right to my property and life. It costs me less in every sense to incur the penalty of disobedience to the State than it would to obey. I should feel as if I were worth less in that case.
    Henry David Thoreau (1817–1862)

    We all cry out that the world is corrupt,—and I fear too justly,—but we never reflect, what we have to thank for it, and that it is our open countenance of vice, which gives the lye to our private censures of it, which is its chief protection and encouragement.
    Laurence Sterne (1713–1768)

    Under an oak, whose antique root peeps out
    Upon the brook that brawls along this wood.
    William Shakespeare (1564–1616)