symlinks on windows

John Arbash Meinel john at arbash-meinel.com
Tue Jun 6 11:07:06 BST 2006


Alexander Belchenko wrote:
> Nate W пишет:
>> Hello Alexander, I saw your discussion on the bzr list about using
>> cygwin's pseudo-symlink method with bzr, and I wonder if you have
>> considered using NTFS reparse points instead?  They are somewhat
>> similar to unix symlinks.  Here is some more information about them:
>>
>> http://www.pcguide.com/ref/hdd/file/ntfs/filesReparse-c.html
>> http://www.codeproject.com/w2k/junctionpoints.asp
>>
>> I am completely unfamiliar with python so I don't know if it will be
>> possible to make the Win32 calls necessary to use this, but if it can
>> be done, I think it might be a better solution than cygwin-style
>> linking since it is supported by the OS and thus can be used by all
>> Win32 applications, not just those than use cygwin's approach.
>>
>> I hope you find this useful,
>>
>> Nate Waddoups
>> Redmond WA USA
>> http://www.natew.com/   <== for nerds
>> http://www.featherforum.com/   <== for birds
> 
> Thanks for links. Probably it can be useful, but it restricted to NTFS
> filesystem. But very often old windows machines used FAT32. So in this
> case this approach cannot be used. But as alternative to cygwin-like it
> could be.

I would not recommend using reparse points. They only work directory =>
directory (thus you cannot do a reparse point for a file, like you can
do with symlinks).
They also have many more limitations (IIRC, a global limit on the number
of them that can exist in a filesystem).

John
=:->


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 249 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060606/eb047e1e/attachment.pgp 


More information about the bazaar mailing list