delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/03/21/16:21:58

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:from:to:subject:date:message-id:content-type
:content-transfer-encoding:mime-version; q=dns; s=default; b=oBT
esepfw34xleDAeviasSuEjrSlQIllcJzaz4m5ft7FPn/Y1QqR77/GybywcHhb/2s
zziH8S9a1L9ZyoGX7KcsDEwlE6SsHJYCiDOT9Z8Nt0/R0Oy/M/Y5gYUm9yqBE1Po
1Vwlc5HwmqK5/DEDKHf1uiWeQgoFP/KQLmgWr4fs=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:from:to:subject:date:message-id:content-type
:content-transfer-encoding:mime-version; s=default; bh=kiq4f5FKP
suuKaFj9KpcRnbOtjY=; b=BGYzZVI7aZ4NfRmcJ47hf3JKH4GBlYFEULN4PsyyY
QaE/GFHZC6XjkBw2+6pf4OG9YdTG1Lq+RIFQyVdP9tbOzAsNtCoiv60K0u07dDN0
Jh0jUxsr8AvJRAJ8HD98wuslqrvL/0K88lphf1IPGQkNlUnZWR2X+WhubWJ96t5Z
ZE=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=2.5 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2 spammy=0.293, CYGWIN_NT-6.1, cygwin_nt61, CYGWIN_NT61
X-HELO: USA7109MR007.ACS-INC.COM
From: "Nellis, Kenneth" <Kenneth DOT Nellis AT xerox DOT com>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: cksum giving inconsistent results on network drive
Date: Mon, 21 Mar 2016 20:21:34 +0000
Message-ID: <0D835E9B9CD07F40A48423F80D3B5A702EAE633E@USA7109MB022.na.xerox.net>
MIME-Version: 1.0
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id u2LKLr6b011481

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


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019