<div dir="ltr">On Mon, Nov 12, 2012 at 4:21 AM, Ketil Malde <span dir="ltr">&lt;<a href="mailto:ketil@malde.org" target="_blank">ketil@malde.org</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im"><a href="mailto:timothyhobbs@seznam.cz">timothyhobbs@seznam.cz</a> writes:<br>
&gt; import Control.Monad<br>
&gt; foo = do<br>
&gt;   forever $ writeFile &quot;filename.foo&quot; &quot;Hello world!&quot;<br>
<br>
</div>I could be wrong, but I suspect this is unlikely to result in (hardly)<br>
any disk operations at all, as long as there is _any_ write caching in<br>
the system.<br></blockquote><div><br></div><div>Maybe no data blocks, but the metadata will be updated.</div><div><br></div></div>-- <br><div dir="ltr"><div>brandon s allbery kf8nh                               sine nomine associates</div>
<div><a href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a>                                  <a href="mailto:ballbery@sinenomine.net" target="_blank">ballbery@sinenomine.net</a></div><div>unix/linux, openafs, kerberos, infrastructure          <a href="http://sinenomine.net" target="_blank">http://sinenomine.net</a></div>
</div><br>
</div>