storing symlink in extended attribute (on ntfs)

Christopher Faylor
Tue May 29 18:41:00 GMT 2001

On Thu, May 24, 2001 at 04:47:14PM +0400, egor duda wrote:
>Monday, 14 May, 2001 egor duda wrote:
>CF>>> As a specific comment, I wonder if it would just make sense to store volume
>CF>>> information in the path_conv class to avoid going through the duplicate efforts
>CF>>> in symlink.
>ed>> i guess so. currently, GetVolumeInformation is called only when
>ed>> symlink is created, not resolved, but this will slow things down on
>ed>> file systems other than NTFS. to remove this penalty,
>ed>> GetVolumeInformation() should be called in symlink resolution code to, 
>ed>> and that's where volume information caching can save some cycles.
>ed> done. i think, however, that this patch should wait until 1.3.3
>ok to install?

I'm having some reservations about this.  Doesn't this essentially add a
third method for dealing with symlinks on NT?  I know that there are
benefits to your method but I wonder if we really want to go down
this road.


More information about the Cygwin-patches mailing list