diff -r won't recurse
Corinna Vinschen
corinna-cygwin@cygwin.com
Tue Apr 7 09:14:00 GMT 2015
On Apr 4 21:51, Jeffrey Altman wrote:
> On 4/4/2015 3:27 PM, lemkemch@t-online.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
> >
> > 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?
>
> 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
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Maintainer cygwin AT cygwin DOT com
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20150407/f0845574/attachment.sig>
More information about the Cygwin
mailing list