On Tue, 2006-09-05 at 07:35 +1000, Neil Brown wrote:

> Try
>  for i in `seq 1 20`; do
>   dd if=/dev/sda of=/tmp/try-$i conv=direct
>  done
>  for i in `seq 2 20`; do
>   cmp -l /tmp/try-1 /tmp/try=$i
>  done

I tried a variant of this:

for i in `seq 1 20`; do
        dd if=/dev/sda1 of=/tmp/try-$i count=4 bs=4096 iflag=direct 
        sleep 0.25
done

Tried it with and without the sleep, on all 4 drives.  In all cases, the
20 "try" files were identical.

-- 
Josh Litherland ([EMAIL PROTECTED])

-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to