Re: Strage buffer behaviour

From: Denys Vlasenko
Date: Mon Nov 12 2007 - 14:45:26 EST


On Sunday 11 November 2007 11:33, Tino Keitel wrote:
> The dd command reads 100 MB from each partition two times in a row. It
> looks like sda1 and sda2 are not bufferd (the first 4 dd runs), but
> sda3 and sda4 are (the last 4 dd runs).
>
> The computer is a Mac mini with a 2,5" SATA hard disk. The first 2
> partitions contain EFI and MacOS X, and are unused in Linux. The last 2
> partitions are an ext3 partition for / and an LVM for the rest of the
> sytem.
>
> Any hints how the dd/buffering behaviour could be explained? The system
> was mostly idle, and the numbers are reproducible across reboots.

IIRC only mounted partitions' reads are cached.
--
vda
-
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/