apr-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 47630] NTFS directory junctions ("mounted folders") should be treated like n*x mount points (APR_DIR, not APR_LNK)
Date Tue, 04 Aug 2009 11:53:22 GMT

--- Comment #1 from Will Rowe <wrowe@apache.org> 2009-08-04 04:53:20 PDT ---
Symbolic links on Unix are polymorphic, just as you described for Junctions.
This behavior is by design.

Unlike a unix mount point, a Junction is not a directory.  Unlike a unix
mount point, rm is not used to remove the intersection of the file systems.
And like Unix symlinks, a Junction may refer to a nonexistent or invalid

A Junction is never a hard link; NTFS has hard links, these are well defined
objects and are invisible to the consumer after creation except by comparing
file ID (e.g. inode) for equality.

APR_LNK must be dereferenced to discover the target resource.  Omitting the
apr_file_info flag APR_FINFO_LINK should resolve the referenced APR_DIR.  
Is this not what  you observe?

Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org

View raw message