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: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 AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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=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 AT mail, Hx-languages-length:1294, H*RU:14.03.0224.002 X-HELO: USA7109MR001.ACS-INC.COM From: "Nellis, Kenneth" To: "cygwin AT cygwin DOT 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: In-Reply-To: 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