On Apr 4 21:51, Jeffrey Altman wrote: > On 4/4/2015 3:27 PM, lemke...@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
pgpaRGByOJoNc.pgp
Description: PGP signature