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:

    Take away from the courts, if it could be taken away, the power to issue injunctions in labor disputes, and it would create a privileged class among the laborers and save the lawless among their number from a most needful remedy available to all men for the protection of their business interests against unlawful invasion.... The secondary boycott is an instrument of tyranny, and ought not to be made legitimate.
    William Howard Taft (1857–1930)

    Guns have metamorphosed into cameras in this earnest comedy, the ecology safari, because nature has ceased to be what it always had been—what people needed protection from. Now nature tamed, endangered, mortal—needs to be protected from people.
    Susan Sontag (b. 1933)

    In dark places and dungeons the preacher’s words might perhaps strike root and grow, but not in broad daylight in any part of the world that I know.
    Henry David Thoreau (1817–1862)