public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: "lemkemch@t-online.de" <lemkemch@t-online.de>
To: cygwin@cygwin.com
Subject: Re: diff -r won't recurse
Date: Sat, 04 Apr 2015 18:29:00 -0000	[thread overview]
Message-ID: <167965717055202d94c75b39.22280421@email.t-online.de> (raw)
In-Reply-To: <434586251552028f4b44ab4.23122527@email.t-online.de>

>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?
>>
>>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).
>

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
Max Filenamelength : 255
Filesystemname     : <NTFS>
Flags              : 700ff
  FILE_CASE_SENSITIVE_SEARCH  : TRUE
  FILE_CASE_PRESERVED_NAMES   : TRUE
  FILE_UNICODE_ON_DISK        : TRUE
  FILE_PERSISTENT_ACLS        : TRUE
  FILE_FILE_COMPRESSION       : TRUE
  FILE_VOLUME_QUOTAS          : TRUE
  FILE_SUPPORTS_SPARSE_FILES  : TRUE
  FILE_SUPPORTS_REPARSE_POINTS: TRUE
  FILE_SUPPORTS_REMOTE_STORAGE: FALSE
  FILE_VOLUME_IS_COMPRESSED   : FALSE
  FILE_SUPPORTS_OBJECT_IDS    : TRUE
  FILE_SUPPORTS_ENCRYPTION    : TRUE
  FILE_NAMED_STREAMS          : TRUE
  FILE_READ_ONLY_VOLUME       : FALSE
  FILE_SEQUENTIAL_WRITE_ONCE  : FALSE
  FILE_SUPPORTS_TRANSACTIONS  : FALSE

 orion> /usr/lib/csih/getVolInfo.exe /d
Device Type        : 7
Characteristics    : 20
Volume Name        : <ND D (HDD)>
Serial Number      : 3357258338
Max Filenamelength : 255
Filesystemname     : <NTFS>
Flags              : 700ff
  FILE_CASE_SENSITIVE_SEARCH  : TRUE
  FILE_CASE_PRESERVED_NAMES   : TRUE
  FILE_UNICODE_ON_DISK        : TRUE
  FILE_PERSISTENT_ACLS        : TRUE
  FILE_FILE_COMPRESSION       : TRUE
  FILE_VOLUME_QUOTAS          : TRUE
  FILE_SUPPORTS_SPARSE_FILES  : TRUE
  FILE_SUPPORTS_REPARSE_POINTS: TRUE
  FILE_SUPPORTS_REMOTE_STORAGE: FALSE
  FILE_VOLUME_IS_COMPRESSED   : FALSE
  FILE_SUPPORTS_OBJECT_IDS    : TRUE
  FILE_SUPPORTS_ENCRYPTION    : TRUE
  FILE_NAMED_STREAMS          : TRUE
  FILE_READ_ONLY_VOLUME       : FALSE
  FILE_SEQUENTIAL_WRITE_ONCE  : FALSE
  FILE_SUPPORTS_TRANSACTIONS  : FALSE



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

  reply	other threads:[~2015-04-04 18:29 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-03 14:18 lemkemch
2015-04-03 14:50 ` Andrey Repin
2015-04-04 18:10   ` AW: " lemkemch
2015-04-04 18:29     ` lemkemch [this message]
2015-04-04 19:27       ` lemkemch
2015-04-04 23:50         ` Andrey Repin
2015-04-05  1:51         ` Jeffrey Altman
2015-04-07  9:14           ` Corinna Vinschen
2015-04-03 19:41 ` Erwin Waterlander
2015-04-03 20:35   ` Andrey Repin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=167965717055202d94c75b39.22280421@email.t-online.de \
    --to=lemkemch@t-online.de \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).