Windows: hardlink support is broken on shared drives

Adrian Buehlmann adrian at cadifra.com
Wed Aug 18 07:01:56 CDT 2010


On 18.08.2010 13:43, Patrick Mézard wrote:
> Le 18/08/10 11:47, Patrick Mézard a écrit :
>> Le 17/08/10 22:34, Matt Mackall a écrit :
>>> a -> works
>>> b -> detectable partial
>>> c -> fail
>>> x -> undetectable partial
>>>
>>> then we've got something like:
>>>
>>> server                    client
>>>                 winxp   2003  2000  vista  ...   
>>> local             a       a
>>> OSX parallels     b
>>> 2003 RDP          a
>>> 2003 mounted              b
>>> Vista
>>> Samba
>>> NetApp
>>> ...
>>>
>>> We probably need to fill in this table a bit more before we can declare
>>> this test works.
>>
>> It seems I fooled myself with testlink.py and misread the result (big surprise). I redid the tests this morning, printing the links count and the serial number and all cases fail except the local ones, meaning links=1 and serial!=0 where reading network shares.
>>
>> Sorry for the noise.
> 
> Also I never got a correct links count from a mounted directory. And I tested these additional configurations:
> 
> Vista local:                a
> mounted Vista from WinXP:   x
> mounted Vista from Win2003: x
> mounted Win2003 from Vista: x
> 
> Adrian test:
> mounted FreeBSD from WinXP: x

My test was (as noted in detail in my earlier email):

server: old Samba (on old FreeBSD)
client: Windows 7 x64

(*not* Windows XP)

> So until now, nlinks() fails for all remote configurations. Would be interesting to know what happens with linux shares.


More information about the Mercurial-devel mailing list