Windows: hardlink support is broken on shared drives

Patrick Mézard pmezard at gmail.com
Wed Aug 18 06:43:13 CDT 2010


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

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

--
Patrick Mézard


More information about the Mercurial-devel mailing list