delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/04/04/15:28:05

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:mime-version:in-reply-to:references:date
:reply-to:to:message-id:subject:from:content-type
:content-transfer-encoding; q=dns; s=default; b=p0ePNgeZrt8msNPC
5VO+n6yW9mxg67BPKw7qxYM11ve3By9kE8K++wCRksZLsb9qtnj0e531K1PqE0Tr
2EsXfjtTqXIm0on4VZSKLhutLgg/SmS+sNVmDeTowwD2iZHIE41vI/mH/Q54YIhX
dOfBq1AABHbx0TEVK8gdNLH9HrI=
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:mime-version:in-reply-to:references:date
:reply-to:to:message-id:subject:from:content-type
:content-transfer-encoding; s=default; bh=I6AqnHBqAurkimnf6fywON
hc1QQ=; b=mlx7nrHRHT3R20BYD3G4mLyrtF13rUdmeQ1BajSb458wm+YRbOwNr9
aCZU3x+QZy7FmrzijGD9/QJDozt+LU4ium08tMpndxTHF0JOf+mt8QfJHu/XHNHz
KYNlAvD5U2ImdK/llJVSrY47etSkwH28mMDBeSZ1CmnNG9N/kB+Y0=
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=3.8 required=5.0 tests=AWL,BAYES_60,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_NONE,T_RP_MATCHES_RCVD autolearn=no version=3.3.2
X-HELO: mailout03.t-online.de
MIME-Version: 1.0
In-Reply-To: <167965717055202d94c75b39.22280421@email.t-online.de>
References: <167965717055202d94c75b39 DOT 22280421 AT email DOT t-online DOT de>
Date: Sat, 04 Apr 2015 21:27:39 +0200
Reply-To: "lemkemch AT t-online DOT de" <lemkemch AT t-online DOT de>
To: cygwin AT cygwin DOT com
Message-ID: <189698368655203b2bd9dcc6.25965034@email.t-online.de>
Subject: Re: diff -r won't recurse
From: "lemkemch AT t-online DOT de" <lemkemch AT t-online DOT de>

>
>-----Original-Nachricht-----
>Betreff: Re: diff -r won't recurse
>Datum: Sat, 04 Apr 2015 20:29:40 +0200
>Von: "lemkemch AT t-online DOT de" <lemkemch AT t-online DOT de>
>An: cygwin AT cygwin DOT com
>
>>On Sat, 04 Apr 2015 20:09:56 +0200 I wrote:
>>On Fri, 03 Apr 2015 16:50:09 +0200  Andrey Repin wrote:
>>>> I've got a strange problem: diff -r /d /g won't recurse into the two directories.  /d and /g are the
>>>> roots of two disks where /g is a clone (disk2vhd) of /d.  ls -R and other tools have no problems
>>>> to walk the tree.  strace doesn't give me a clue.  Any ideas?
>>>
>>Yes, that's what I expected.  And Erwin Waterlander suggested:
>>> there are no differences
>>> ;)
>>
>>I wish it were so.  Nevertheless (-s lists identical files):
>>orion> diff -q -r -s /d/Program\ Files /g/Program\ Files
>>orion> 
>>
>>But
>>orion> ls /d/Program\ Files /g/Program\ Files
>>/d/Program Files:
>>7-Zip                                        GPS-Track-Analyse-6                                PlotSoft
>>... snipped.
>>
>>/g/Program Files:
>>7-Zip                                        GPS-Track-Analyse-6                                PlotSoft
>>... more snipped.
>>
>>I am sure this got something to do with this being on a cloned disk running in a XP 
>>virtual machine (vmplayer on Win 8,1).
>>
>
>Clutching at straws (note the identical serial number, does it confuse Cygwin?):
>
> orion> /usr/lib/csih/getVolInfo.exe /g
>Device Type        : 7
>Characteristics    : 20
>Volume Name        : <ND D (HDD)>
>Serial Number      : 3357258338
...
>
> orion> /usr/lib/csih/getVolInfo.exe /d
>Device Type        : 7
>Characteristics    : 20
>Volume Name        : <ND D (HDD)>
>Serial Number      : 3357258338

This was it.  I changed the Volume Serial Number with a Sysinternals tool
(https://technet.microsoft.com/en-us/sysinternals/bb897436.aspx)
and after a reboot diff now recurses into the directories in question.

Now is this a Cygwin bug or am I doing something terribly unsupported?

Thanks,
Michael

----------------------------------------------------------------
Profitieren Sie von der sicheren E-Mail-Ãœbertragung Ihrer Daten mit einer kostenlosen E-Mail-Adresse der Telekom.
www.t-online.de/email-kostenlos



--
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