realpath issue with native[strict] symlinks

Orgad Shaneh orgads@gmail.com
Sun May 9 11:35:40 GMT 2021


On Sat, May 8, 2021 at 12:20 AM Corinna Vinschen
<corinna-cygwin@cygwin.com> wrote:
>
> I reworked the code handling native symlinks to handle virtual drives
> as well.  It might even be a tiny bit quicker now.
>
> The changes have a behavioral change, but I think this is for the
> better: Virtual drives are not treated as drives anymore, but as
> symlinks.  Given they are just pointers to other drives or directories,
> tha't much closer to reality.  I. e., in case of my above virtual drive
> T:, what you'll see in the /cygdrive dir (unless your cygdrive prefix is
> / only) is this:
>
> $ ls /cygdrive
> $ ls -lG /mnt
> total 16
> d---r-x---+ 1 TrustedInstaller  0 Apr 29 21:07 c
> drwxr-xr-x  1 corinna           0 Dec 31  1979 e
> lrwxrwxrwx  1 corinna          32 May  6 20:43 t -> /cygdrive/c/cygwin64/home/corinna/tmp
>
> I uploaded new developer snapshots to https://cygwin.com/snapshots/
> for testing.

Thank you very much. Looks good.

- Orgad


More information about the Cygwin mailing list