<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: rm -rf /</title>
	<atom:link href="http://blog.venthur.de/2008/11/10/rm-rf/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.venthur.de/2008/11/10/rm-rf/</link>
	<description>and no tagline either</description>
	<pubDate>Fri, 10 Sep 2010 23:04:49 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: giulivo navigante</title>
		<link>http://blog.venthur.de/2008/11/10/rm-rf/#comment-123413</link>
		<dc:creator>giulivo navigante</dc:creator>
		<pubDate>Thu, 08 Jan 2009 13:29:59 +0000</pubDate>
		<guid isPermaLink="false">http://blog.venthur.de/2008/11/10/rm-rf/#comment-123413</guid>
		<description>this preserve option seems to me just a fucking stupid idea</description>
		<content:encoded><![CDATA[<p>this preserve option seems to me just a fucking stupid idea</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: youam</title>
		<link>http://blog.venthur.de/2008/11/10/rm-rf/#comment-114719</link>
		<dc:creator>youam</dc:creator>
		<pubDate>Mon, 10 Nov 2008 13:43:35 +0000</pubDate>
		<guid isPermaLink="false">http://blog.venthur.de/2008/11/10/rm-rf/#comment-114719</guid>
		<description>man rm:

       --no-preserve-root
              do not treat ‘/’ specially

       --preserve-root
              do not remove ‘/’ (default)</description>
		<content:encoded><![CDATA[<p>man rm:</p>
<p>       &#8211;no-preserve-root<br />
              do not treat ‘/’ specially</p>
<p>       &#8211;preserve-root<br />
              do not remove ‘/’ (default)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cate</title>
		<link>http://blog.venthur.de/2008/11/10/rm-rf/#comment-114718</link>
		<dc:creator>cate</dc:creator>
		<pubDate>Mon, 10 Nov 2008 13:21:31 +0000</pubDate>
		<guid isPermaLink="false">http://blog.venthur.de/2008/11/10/rm-rf/#comment-114718</guid>
		<description>It is the correct behaviour.

Compare "rm -rf /tmp/" and "rm -rf /tmp/*". The first one will remove also the directory, the second one no.

Now think about removing "/"  (will it last only " "?).  The root directory is special in the kernel: it is the root of the file tree. Allowing the root removal, the root must become a NULL pointer, thus requiring a lot of additional checks, which is not worth in POSIX like environment (Note: posix permit not allowing to remove some systems directory and files).</description>
		<content:encoded><![CDATA[<p>It is the correct behaviour.</p>
<p>Compare &#8220;rm -rf /tmp/&#8221; and &#8220;rm -rf /tmp/*&#8221;. The first one will remove also the directory, the second one no.</p>
<p>Now think about removing &#8220;/&#8221;  (will it last only &#8221; &#8220;?).  The root directory is special in the kernel: it is the root of the file tree. Allowing the root removal, the root must become a NULL pointer, thus requiring a lot of additional checks, which is not worth in POSIX like environment (Note: posix permit not allowing to remove some systems directory and files).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James</title>
		<link>http://blog.venthur.de/2008/11/10/rm-rf/#comment-114717</link>
		<dc:creator>James</dc:creator>
		<pubDate>Mon, 10 Nov 2008 13:17:45 +0000</pubDate>
		<guid isPermaLink="false">http://blog.venthur.de/2008/11/10/rm-rf/#comment-114717</guid>
		<description>Solaris managed to get rm -rf / prohibited as POSIX compliance, under the euphemism "&lt;a href="http://blogs.sun.com/jbeck/date/20041001#rm_rf_protection" rel="nofollow"&gt;pre-determined heuristic&lt;/a&gt;".</description>
		<content:encoded><![CDATA[<p>Solaris managed to get rm -rf / prohibited as POSIX compliance, under the euphemism &#8220;<a href="http://blogs.sun.com/jbeck/date/20041001#rm_rf_protection" rel="nofollow">pre-determined heuristic</a>&#8220;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: plavy</title>
		<link>http://blog.venthur.de/2008/11/10/rm-rf/#comment-114712</link>
		<dc:creator>plavy</dc:creator>
		<pubDate>Mon, 10 Nov 2008 11:03:39 +0000</pubDate>
		<guid isPermaLink="false">http://blog.venthur.de/2008/11/10/rm-rf/#comment-114712</guid>
		<description>No, no la hagas tio. Siempre hay motivo para vivir...</description>
		<content:encoded><![CDATA[<p>No, no la hagas tio. Siempre hay motivo para vivir&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lubos</title>
		<link>http://blog.venthur.de/2008/11/10/rm-rf/#comment-114711</link>
		<dc:creator>lubos</dc:creator>
		<pubDate>Mon, 10 Nov 2008 10:50:42 +0000</pubDate>
		<guid isPermaLink="false">http://blog.venthur.de/2008/11/10/rm-rf/#comment-114711</guid>
		<description>you have instaled safe-rm, don't you?</description>
		<content:encoded><![CDATA[<p>you have instaled safe-rm, don&#8217;t you?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
