[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]
Try the " sync " command On 10/07/2010 21:01, 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? Suddenly I realise that SCSI tape devices simply read the data after writing it by putting the read head after the write head (if they had two) thus ensuring your data was on tape in one operation. The OS caches can be cleared by remounting the device, and there are other options in later kernels. But I can't find clear documentation for the behaviour of hard disk caches in such situations.
-- The Mailing List for the Devon & Cornwall LUG http://mailman.dclug.org.uk/listinfo/list FAQ: http://www.dcglug.org.uk/listfaq