X-Recipient: archive-cygwin@delorie.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:references
	:in-reply-to:content-type:content-transfer-encoding
	:mime-version; q=dns; s=default; b=rrmkuIxHgniK+B23Fz/e3+QY0GCyT
	tORfzbDtmtmc5O8avOc75hNMCL9d+eUgeOYhRAH7Y6gJt37WMkzOM7A+jwQqb37o
	fEfg+dIZ+xJADUK/Xv8ATN7PlbWL8GU7+BbDiHEgPi859Jev2xAQA5kCf7E8tyr1
	9OUsMvRaQvyuz0=
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:references
	:in-reply-to:content-type:content-transfer-encoding
	:mime-version; s=default; bh=6NnmuOaCs3J4B0fJRs1Bo0ifsGw=; b=Ehk
	un0QJ0DK+I/5RjPwA/boEl1wly9nfBTR5k/YfhrEzjEl1rO1wu9WOBuw7FfrZqRj
	/iufkZCEe18t+EHKLKNjmSCimoiTwD9Mh6qDB3QdDyfKkKjC5Uj+I/xRDIBkznvG
	lv5Bk8JpUa6RTtzEpiYn4YQm/RL3E6aTdhderWeo=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=3.6 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY,MIME_BASE64_BLANKS autolearn=no version=3.3.2 spammy=responded, H*MI:sk:Kg@mail, Hx-languages-length:1294, H*RU:14.03.0224.002
X-HELO: USA7109MR001.ACS-INC.COM
From: "Nellis, Kenneth" <Kenneth.Nellis@xerox.com>
To: "cygwin@cygwin.com" <cygwin@cygwin.com>
Subject: RE: cksum giving inconsistent results on network drive
Date: Tue, 22 Mar 2016 18:45:19 +0000
Message-ID: <0D835E9B9CD07F40A48423F80D3B5A702EAE64FA@USA7109MB022.na.xerox.net>
References: <CACoZoo0wFReBJha8AwzCAHSWKhEL1ALKH5exmhE-8P5fEj6+Kg@mail.gmail.com>
In-Reply-To: <CACoZoo0wFReBJha8AwzCAHSWKhEL1ALKH5exmhE-8P5fEj6+Kg@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id u2MIjdmh008374

From: Erik Soderquist 
> On Mon, Mar 21, 2016 at 4:21 PM, Nellis, Kenneth  wrote:
> > 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.
> 
> I expect if you did a capture of the traffic, you'd find the traffic
> itself has inconsistent data...
> 
> My first suspicion is that there is very little you can do from the
> cygwin side outside of something like doing 5 consecutive tests and
> take the most consistent result.
> 
> -- Erik

Indeed, it is not cksum, but (almost) any Windows process that 
reads data mounted on my QNX4 Samba drive, including Cygwin's 
"cp", FileZilla, and Perl's File::Copy package. However, I have 
not got the DOS "COPY" command to deliver corrupted data, so I 
suspect it must be doing something special. So, with FileZilla's 
and others' failures, I've vindicated Cygwin, as it seems to be 
some problem between QNX4 Samba and Win7.

Thanx to all who responded.

--Ken Nellis

