D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Ensuring data is on disk

 

On Sat, 2010-07-10 at 21:01 +0100, Simon Waters wrote:
> Curiosity driven question.
>
> If I write data to my external hard disk, how can I ensure that a read
> to verify that data isn't using a cache?

You should be able to:
sync
echo 3 > /proc/sys/vm/drop_caches

and then try to read the data back.


Sophos Plc, The Pentagon, Abingdon Science Park, Abingdon, OX14 3YP, United Kingdom.
Company Reg No 2096520. VAT Reg No GB 348 3873 20.

-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/listfaq