This is the mail archive of the
cygwin-developers
mailing list for the Cygwin project.
Re: native symlink
- From: Jeffrey Altman <jaltman at openafs dot org>
- To: cygwin-developers at cygwin dot com
- Date: Wed, 24 Apr 2013 13:55:48 -0400
- Subject: Re: native symlink
- References: <20130401195216 dot GA7174 at ednor dot casa dot cgf dot cx> <9A868E84-96C2-486C-98DF-3FF5079ACD50 at mac dot com> <20130402000633 dot GA3977 at ednor dot casa dot cgf dot cx> <9362C76C-DB6B-4DA8-B61E-7980CFDF7A8A at mac dot com> <20130403014056 dot GA3383 at ednor dot casa dot cgf dot cx> <2EC5409B-C507-4B41-862C-D42D69CE3741 at mac dot com> <515BB10C dot 9080101 at openafs dot org> <20130403152907 dot GD2468 at calimero dot vinschen dot de> <20130424103450 dot GM26397 at calimero dot vinschen dot de> <5177CABF dot 8040406 at openafs dot org> <20130424125043 dot GA18673 at calimero dot vinschen dot de>
- Reply-to: jaltman at openafs dot org
On 4/24/2013 8:50 AM, Corinna Vinschen wrote:
> On Apr 24 08:06, Jeffrey Altman wrote:
>> On 4/24/2013 6:34 AM, Corinna Vinschen wrote:
>>> I just applied a patch to CVS which adds AFS support as well as native
>>> symlink support. On AFS, native symlinks are used exclusively, on any
>>> other filesystem supporting native symlinks Cygwin will try to create
>>> them if you specify "winsymlinks:native" in the $CYGWIN environment
>>> variable.
>>>
>>> After mulling over this problem I found that using an environment
>>> solution is better than the mount point solution, because this allows
>>> on-the-fly creating of native symlinks in certain scenarios, while the
>>> default can be kept at using Cygwin sysfile symlinks, which are still
>>> better suited for a POSIX environment.
>>>
>>> For completeness, you can also specify "winsymlinks:lnk" or just
>>> "winsymlinks". This will result in trying to generate shortcut
>>> type symlinks, as before.
>>>
>>> Jeffrey, please give especially AFS at try here.
>>
>> I've confirmed that the unrecognized reparse point fix in 1.7.18-1
>> does work. Unfortunately, I'm still unable to get gcc (actually cc1)
>> to build even a simple hello world c program. Is there is a nightly
>> binary distribution I can use to test from?
>
> i686:
>
> http://cygwin.com/snapshots/
I have confirmed that the change works on AFS without the environment
setting.
Thanks.
Jeffrey Altman