Root directory being a junction fools realpath()

Corinna Vinschen
Thu Feb 18 13:09:07 GMT 2021

On Feb 18 12:46, David Macek via Cygwin-developers wrote:
> Thank you for diagnosing.
> > > This isn't realpath's fault.  You're circumventing the mount point
> > > handling
> It was not my intention. :)  It's just due to my sharing scripts and
> configurations between various machines (with varying disk layouts and
> sizes), I sometimes need to use links to work around things.
> [...]
> > I just wonder if such a bordercase is worth the extra performance hit
> > for each Cygwin invocation.
> Of course I'd like to see it resolved, but I don't remember any
> non-cosmetic issue caused by it, *so far*.  Is there an estimate of
> how big of a slow-down the fix causes?

No, somebody would have to test this.  Probably it's not that much...


More information about the Cygwin-developers mailing list