I'm curious how verification works. I'm assuming a hash (md5, for example) is generated as a file is copied, then the copied file is read back, hashed, and compared to the original. Is this correct? Isn't the OS just giving back the memory cached copied file and not reread from disk? How about a network share?
Thanks for any help.
Custom Copy Verification questions
-
zer0
- Posts: 2676
- Joined: 19 Jan 2009 20:11
Re: Custom Copy Verification questions
A hash is generated once a file is copied, not while the file is copied. It's in the help filexyusr wrote:I'm curious how verification works. I'm assuming a hash (md5, for example) is generated as a file is copied, then the copied file is read back, hashed, and compared to the original. Is this correct? Isn't the OS just giving back the memory cached copied file and not reread from disk? How about a network share?
Thanks for any help.
Reporting a bug? Have a wish? Got a question? Use search - View roadmap - FAQs: Forum + XY site
Windows 7/10
Always using the latest stable two-decimal build
Windows 7/10
Always using the latest stable two-decimal build
-
admin
- Site Admin
- Posts: 67270
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Custom Copy Verification questions
Yes, XY ensures that the cache is flushed and the target is really read from disk, not from cache.
FAQ | XY News RSS | XY X
-
xyusr
- Posts: 5
- Joined: 04 May 2011 23:38
Re: Custom Copy Verification questions
How about a network share? Thanks.admin wrote:Yes, XY ensures that the cache is flushed and the target is really read from disk, not from cache.
-
admin
- Site Admin
- Posts: 67270
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Custom Copy Verification questions
Same. Why should it be different?xyusr wrote:How about a network share? Thanks.admin wrote:Yes, XY ensures that the cache is flushed and the target is really read from disk, not from cache.
FAQ | XY News RSS | XY X
-
xyusr
- Posts: 5
- Joined: 04 May 2011 23:38
Re: Custom Copy Verification questions
My network share is from a server running Debian Linux and Samba. So, there is a way to have a PC client running Xyplorer clear the disk cache on this server so copy verification works correctly?
-
admin
- Site Admin
- Posts: 67270
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Custom Copy Verification questions
Hm, I don't know. I just tell Windows to clear the disk write buffer, and I assume it does (it's notable, too, because the operation takes much longer compared to no clearing the cache). Not sure whether this extends to the other machine's cache.xyusr wrote:My network share is from a server running Debian Linux and Samba. So, there is a way to have a PC client running Xyplorer clear the disk cache on this server so copy verification works correctly?
FAQ | XY News RSS | XY X
-
alps
- Posts: 58
- Joined: 28 Jun 2011 15:04
Re: Custom Copy Verification questions
Which is the most reliable and fast,verification ?
-
nas8e9
- Posts: 2232
- Joined: 21 Jun 2008 14:50
Re: Custom Copy Verification questions
From the help file:alps wrote:Which is the most reliable and fast,verification ?
Based on the above, I'd say SHA-1 offers the best compromise. For greatest security, byte-to-byte is the way to go.Verification: Verify the correctness of each copy operation on the fly (file by file). If a verification fails you are prompted to continue or abort the operation. You additionally get the option to continue without further such messages. You can choose among several verification methods:
· None (no verification).
· Byte-to-byte: Most secure, but slower on huge files.
· MD5: Fastest if the hashing algorithms offered here.
· SHA-1: More secure than MD5 but slightly lower. Faster than Byte-to-byte on huge files.
· SHA-256: Available only from Vista/Win7.
· SHA-512: Available only from Vista/Win7.
-
alps
- Posts: 58
- Joined: 28 Jun 2011 15:04
Re: Custom Copy Verification questions
I know the above one,but what's the definition of huge here,greater than how much size?
"· SHA-1: More secure than MD5 but slightly lower",it's slower,right !
and what does this mean --MD5: Fastest if the hashing algorithms offered here.
"· SHA-1: More secure than MD5 but slightly lower",it's slower,right !
and what does this mean --MD5: Fastest if the hashing algorithms offered here.
-
admin
- Site Admin
- Posts: 67270
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Custom Copy Verification questions
There are 2 typos, sorry.alps wrote:I know the above one,but what's the definition of huge here,greater than how much size?
"· SHA-1: More secure than MD5 but slightly lower",it's slower,right !
and what does this mean --MD5: Fastest if the hashing algorithms offered here.
It should have been:
- slightly slower
- Fastest of the
definition of huge: try it, I think it also depends on the system (RAM etc.).
FAQ | XY News RSS | XY X
XYplorer Beta Club