WSL symbolic links
Thomas Wolff
towo@towo.net
Thu Mar 26 16:15:09 GMT 2020
Am 26.03.2020 um 12:00 schrieb Corinna Vinschen:
> On Mar 26 10:00, Thomas Wolff wrote:
>> A symbolic link created with WSL is neither interpreted in cygwin nor can it
>> be deleted:
>>> touch file
>>> wsl ln -s file link
>>> wsl ls -l link
>> lrwxrwxrwx 1 towo towo 1 Mar 26 08:56 link -> file
>>> ls -l link
>> -rw-r----- 1 Unknown+User Unknown+Group 0 Mar 26 00:00 link
> What kind of file are they in the real world? Reparse points? If so,
> what content do they have? I attached a Q&D source from my vault
> of old test apps to check on reparse point content. Please compile with
>
> gcc -g ../src/rd-reparse.c -o rd-reparse -lntdll
>
> It takes a single native NT path as parameter, kind of like this:
>
> ./rd-reparse '\??\C:\cygwin64\home\corinna\link'
output is:
ReparseTag: 0xa000001d
ReparseDataLength: 8
Reserved: 0
02 00 00 00 66 69 6c 65
>
>
> Thanks,
> Corinna
>
>
> --
> Problem reports: https://cygwin.com/problems.html
> FAQ: https://cygwin.com/faq/
> Documentation: https://cygwin.com/docs.html
> Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin
mailing list