On Mon, Nov 12, 2012 at 4:21 AM, Ketil Malde <ketil@malde.org> wrote:
timothyhobbs@seznam.cz writes:
> import Control.Monad
> foo = do
>   forever $ writeFile "filename.foo" "Hello world!"

I could be wrong, but I suspect this is unlikely to result in (hardly)
any disk operations at all, as long as there is _any_ write caching in
the system.

Maybe no data blocks, but the metadata will be updated.

--
brandon s allbery kf8nh                               sine nomine associates
allbery.b@gmail.com                                  ballbery@sinenomine.net
unix/linux, openafs, kerberos, infrastructure          http://sinenomine.net