delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/04/07/05:14:47

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:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; q=dns; s=
default; b=eyp0RQYcLSlmRiIxhdwh1AHyiLpvEhpZ1DGFtmx3ICi2889l+ZToo
7rIyOdCQHO3Im/PituXRl/FK5zYvybME4JaJK5pR3dX8b38ANAdqCCfezgjcvOpV
oFau4Rfxa9cYlXnfD+gOzNt7DQkQZTBGEMwRSS7PWMrrVe4g+g3AVg=
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:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; s=default;
bh=7HGg9z0WBUaCQWBS4Wyo04jo4Do=; b=ocs14p7TxjqIqE+z6FKE+nGi+MtN
MFDQwpqBdRamOrgdGSTpeZpvL9Pxahd4IPaLpqQoe8yWGT4RsUFZOpZ0qWJYts0N
/pQNVsiWVmLvJxI8NA28xnB7mfdweBHiZfz7FuiBQ2vAHK/BsMK2LrBIBtPboVZI
WFyQeV34RSbGfEA=
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=-5.4 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2
X-HELO: calimero.vinschen.de
Date: Tue, 7 Apr 2015 11:14:27 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: diff -r won't recurse
Message-ID: <20150407091427.GC2819@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <167965717055202d94c75b39 DOT 22280421 AT email DOT t-online DOT de> <189698368655203b2bd9dcc6 DOT 25965034 AT email DOT t-online DOT de> <5520952E DOT 5080700 AT secure-endpoints DOT com>
MIME-Version: 1.0
In-Reply-To: <5520952E.5080700@secure-endpoints.com>
User-Agent: Mutt/1.5.23 (2014-03-12)

--HG+GLK89HZ1zG0kk
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Apr  4 21:51, Jeffrey Altman wrote:
> On 4/4/2015 3:27 PM, lemkemch AT t-online DOT de wrote:
> >> 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
> >=20
> > This was it.  I changed the Volume Serial Number with a Sysinternals to=
ol
> > (https://technet.microsoft.com/en-us/sysinternals/bb897436.aspx)
> > and after a reboot diff now recurses into the directories in question.
> >=20
> > Now is this a Cygwin bug or am I doing something terribly unsupported?
>=20
> The serial number is used by many tools to track the volumes that are
> crossed by reparse points to ensure that a loop does not occur.  I
> suspect that in this case the tool is concluding that the reparse point
> is referring back to the same volume.

Just as an extra datapoint, the serial number is used by Cygwin as the
st_dev value for a filesystem.  If diff checks st_dev to recognize
filesystems and mount points, it will see the same filesystem in the
above case.


Corinna

--=20
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

--HG+GLK89HZ1zG0kk
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBAgAGBQJVI5/zAAoJEPU2Bp2uRE+gu+QP/iEjvexk00tFaLqNNJ5nrVvv
Nrt4N2NcbfqPyJHVSDRlnJaAW+oeQNVQtmHlq0+xdPuoY5co8aqfDMNAb8DOSByK
eyAo5BRJj01WooNg/Cry4NllIqVKxYWlYTViI3KYjeExhSBCxbL9bcEyp4w+ILIH
16IAdbgqtxPNbEAPX43Zi1iq0SfyiOJ+qdZ4cpVmig2LDbY2OUqNtvWHDSTewkQD
rYj+hHy69q4/j72hyz7B1GCGxeh2XaAKTftlLXbh344kd7TByTWFS27B6x16azss
N5N2J+TYAg4UCqRTRc/GUtMjfby6V4sHTwwh3qk7YWjAls5DG+6EZPyylBYa/6gd
mfMPL6XzmfnQp+tB8BPS9fbHeQcFYWZB0PD9BwWFLUW2kFrYujn8Jbs9Yh2yvjHg
0cYbUIJ9kJUGgRlt8NSdgpprQMy4Du2JWvO50NIWi+ShZaO3bFiGXn/ygDqw8MMQ
asm+fAlB7mGWKxJOy9byCLTW7u0kMyyxP8T/Bp7j2Rd6fbZN5p7rVZLMHD7crzA4
7SrZJCTke2iBVAq/QpRHuwxaCNGOq5bHDHHmIxG3PQCck4Dmr88PdZyiPJiyx5EI
MesRTJu57QpP/o7C//KWKhiOvtD+8aFueqKmwV6zoK4qYBaWuE9urhfVOWd+Hyrd
yDYVHD5auABZ6U4kNIlS
=/Yx7
-----END PGP SIGNATURE-----

--HG+GLK89HZ1zG0kk--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019