Re: Copy with verify per block



Previously ByPass <bash@xxxxxxxxxx> wrote:
Just so this message bypasses Arnies killfile and make him curl-up and die.

I find it fascinating that you consider me important enough
to go to all this trouble just to get a simple message to me.

May I suggest that ignoring me would probably be more healthy
for you?

Arno


Eric Gisin wrote in news:13k6l18hs28uea6@xxxxxxxxxxxxxxxxxx
"Alvin Andries" wrote in message news:47433030$0$12706$bf4948fe@xxxxxxxxxxxxxxxx
"Arno Wagner" me@xxxxxxxxxxx> wrote in message news:5qcqoqFv7cmfU1@xxxxxxxxxxxxxxxxxxxxx

Why don't you write your own copy program that
1) copies 1MB of data
2) flushes the I/O
3) reads the 1MB from the destination file and compares it
4) repeats until all data is copied?

This will still read from cache.

Arnie is a certified moron.

In Windows, use FILE_FLAG_NO_BUFFERING to bypass the OS cache.
However, the disk can still read from the cache (several MB now),
and only SCSI has an option to bypass the cache on reads. Does SATA2?

Can't you flush the cache like "sync" under UNIX? I think I recall a command
to do this for removable storage.

Safe Removal, or SysInternal's sync.
.



Relevant Pages

  • Re: Bypass system disk cache
    ... I have a project that with file IO but need to bypass the system disk ... Is there anyway that I can disable the system disk cache (to the ... how can I bypass the cache to the file? ... control the OS. ...
    (comp.lang.java.programmer)
  • Re: Bypass system disk cache
    ... I have a project that with file IO but need to bypass the system disk ... Is there anyway that I can disable the system disk cache (to the ... how can I bypass the cache to the file? ... Can you mount a raw disk partition on your operating system? ...
    (comp.lang.java.programmer)
  • Re: How can I shut down and restart (only one) ASP.NET 2.0 website on the server?
    ... A way to bypass that cache may be to add a dummy parameter with some randowm value to the querystring ... The fact *that* you use a querystring might already be enough to bypass a cache, else the "new URL" should do the trick. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Bypass system disk cache
    ... how can I bypass the cache to the file? ... caching mechanism which worked better than "simple" file system cache). ... Can you mount a raw disk partition on your operating system? ...
    (comp.lang.java.programmer)
  • Re: Copy with verify per block
    ... flushes the I/O ... This will still read from cache. ... to do this for removable storage. ...
    (comp.sys.ibm.pc.hardware.storage)