cksum giving inconsistent results on network drive

Nellis, Kenneth Kenneth.Nellis@xerox.com
Mon Mar 21 20:21:00 GMT 2016


I'm seeing inconsistent results with cksum, with repeated
executions on the same file giving different results.
Now, I suspect I won't get much sympathy because I am
accessing the remote file through a "stone_age_old"*
(QNX4) Samba server through my Q: drive, but if there's
a solution to this, I'd love to hear it as I use
cksum to verify correct transfer of files.

Details:

$ uname -srv
CYGWIN_NT-6.1 2.4.1(0.293/5/3) 2016-01-24 11:26
$ which cksum
/usr/bin/cksum
$ cksum --version
cksum (coreutils) 8.25
Packaged by Cygwin (8.25-1)
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Q. Frank Xia.
$ pwd
/cygdrive/q/knellis/SMARTMDT_WARM_STANDBY_KNELLIS_DEV
$ cksum bin/NOrbStarInterfaceSubsystem
253183300 837374 bin/NOrbStarInterfaceSubsystem
$ cksum bin/NOrbStarInterfaceSubsystem
253183300 837374 bin/NOrbStarInterfaceSubsystem
$ cksum bin/NOrbStarInterfaceSubsystem
253183300 837374 bin/NOrbStarInterfaceSubsystem
$ cksum bin/NOrbStarInterfaceSubsystem
3252265275 837374 bin/NOrbStarInterfaceSubsystem
$ cksum bin/NOrbStarInterfaceSubsystem
3091185832 837374 bin/NOrbStarInterfaceSubsystem
$ cksum bin/NOrbStarInterfaceSubsystem
253183300 837374 bin/NOrbStarInterfaceSubsystem
$ cksum bin/NOrbStarInterfaceSubsystem
253183300 837374 bin/NOrbStarInterfaceSubsystem
$ cksum bin/NOrbStarInterfaceSubsystem
253183300 837374 bin/NOrbStarInterfaceSubsystem
$ cksum bin/NOrbStarInterfaceSubsystem
825101739 837374 bin/NOrbStarInterfaceSubsystem
$ cksum bin/NOrbStarInterfaceSubsystem
2151274907 837374 bin/NOrbStarInterfaceSubsystem
$ cksum bin/NOrbStarInterfaceSubsystem
1471378836 837374 bin/NOrbStarInterfaceSubsystem
$ cat /etc/fstab
# For a description of the file format, see the Users Guide
# http://cygwin.com/cygwin-ug-net/using.html#mount-table

# This is default anyway:
# none /cygdrive cygdrive binary,posix=0,user 0 0

C:/cygwin/home /home dummy binary
Q: /qnx whatever binary,ihash 0 0
$

* https://sourceware.org/ml/cygwin/2011-01/msg00135.html

--Ken Nellis

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list