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 the, protection of, protection and/or root:

    The diversity in the faculties of men, from which the rights of property originate, is not less an insuperable obstacle to a uniformity of interests. The protection of these faculties is the first object of government.
    James Madison (1751–1836)

    Ah! how much a mother learns from her child! The constant protection of a helpless being forces us to so strict an alliance with virtue, that a woman never shows to full advantage except as a mother. Then alone can her character expand in the fulfillment of all life’s duties and the enjoyment of all its pleasures.
    HonorĂ© De Balzac (1799–1850)

    If one really wishes to know how justice is administered in a country, one does not question the policemen, the lawyers, the judges, or the protected members of the middle class. One goes to the unprotected—those, precisely, who need the laws’s protection most!—and listens to their testimony.
    James Baldwin (1924–1987)

    Black creeps from root to root,
    each leaf
    cuts another leaf on the grass,
    shadow seeks shadow,
    then both leaf
    and leaf-shadow are lost.
    Hilda Doolittle (1886–1961)