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:
“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 (17511836)
“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 (18331901)
“But a cultivated man becomes ashamed of his property, out of new respect for his nature. Especially he hates what he has if he see that it is accidental,came to him by inheritance, or gift, or crime; then he feels that it is not having; it does not belong to him, has no root in him and merely lies there because no revolution or no robber takes it away.”
—Ralph Waldo Emerson (18031882)