blockfile access patterns logging

From: Samium Gromoff
Date: Thu Jan 08 2004 - 09:15:37 EST



> Jens,
>
> For some time I've wanted to log exactly what linux is reading and writing
> from my harddisk - for a variety of reasons. The current reason is that my
> very idle laptop writes to disk every once in a while (or reads, I don't
> know).

Have you mounted the fs with -o noatime?

> Now, conceptually this should not be very hard, but I'd like to ask your
> thoughts on where I might insert some crude logging? There are lots of
> places that might be better or worse for some reason.
>
> I'd love to be as close to the physical block device as possible, short of
> rewriting actual IDE drivers.
>
> Any tips? Or is this idea crazy?
>
> Thanks!
>
> --
> http://www.PowerDNS.com Open source, database driven DNS Software
> http://lartc.org Linux Advanced Routing & Traffic Control HOWTO

regards, Samium Gromoff


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/