On 15. 1. 2015 4:11, Greg Jung wrote: > Yes I've seen that, if my second post appeared, the symlinks created with > cygwin are the ones giving me trouble. These links are invisible to CMD.exe, > by someone's > design: > > CYGWIN- created links in > Directory of e:\cygwin64\lib\nox > > 03/31/2014 09:39 AM <DIR> . > 03/31/2014 09:39 AM <DIR> .. > 07/01/2013 03:24 AM 336,710 libXpm-noX.a > 07/01/2013 03:24 AM 43,690 libXpm-noX.dll.a > 2 File(s) 380,400 bytes > 2 Dir(s) 85,657,726,976 bytes free
I think these are cygwin emulated symlinks: They are visible, just not by default. I suspect they are marked with the system attribute. Use "dir /as" to show them. You should see a small size (in order of tens of bytes). You can instruct cygwin to create native NTFS symlinks, but due to a different design, there are some restrictions. See this: <https://cygwin.com/cygwin-ug-net/using.html#pathnames-symlinks> > So the question becomes, "why do cygwin symlinks look different, and how can > a user program detect this attribute? I assume you could detect them using cygwin *stat calls. Maybe by compiling against cygwin headers and cygwin1.dll, or maybe by extracting the relevant code from cygwin sources (you'd have to check the relevant licenses). -- David Macek
smime.p7s
Description: S/MIME Cryptographic Signature