This is the mail archive of the
cygwin
mailing list for the Cygwin project.
AW: diff -r won't recurse
- From: "lemkemch at t-online dot de" <lemkemch at t-online dot de>
- To: "cygwin at cygwin dot com" <cygwin at cygwin dot com>
- Date: Sat, 04 Apr 2015 20:09:56 +0200
- Subject: AW: diff -r won't recurse
- Authentication-results: sourceware.org; auth=none
- References: <1706436250 dot 20150403173834 at yandex dot ru>
- Reply-to: "lemkemch at t-online dot de" <lemkemch at t-online dot de>
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?
>
>Try /d/ /g/ ?
>Cygdrive automounts are implicit.
>Though, I'm unable to reproduce your case.
>
>$ ls -l /?
>ls: cannot access /?: No such file or directory
>
>$ diff -r /w /x
>Only in /w: $RECYCLE.BIN
>Only in /x: OS2
>Only in /w: ssh-1Pr6UITz
>Only in /w: System Volume Information
>Only in /x: WINNT
>
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).
Thanks,
Michael
P.S. For some reason I can't subscribe properly to the list. It rejected my first request
and following the instructions I received as a result wasn't successful.
----------------------------------------------------------------
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