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 and/or root:

    After so many historical illustrations of the evil effects of abandoning the policy of protection for that of a revenue tariff, we are again confronted by the suggestion that the principle of protection shall be eliminated from our tariff legislation. Have we not had enough of such experiments?
    Benjamin Harrison (1833–1901)

    The bud of the apple is desire, the down-falling gold,
    The catbird’s gobble in the morning half-awake
    These are real only if I make them so. Whistle
    For me, grow green for me and, as you whistle and grow green,
    Intangible arrows quiver and stick in the skin
    And I taste at the root of the tongue the unreal of what is real.
    Wallace Stevens (1879–1955)