This is the mail archive of the
cygwin-developers
mailing list for the Cygwin project.
Re: native symlink
- From: James Gregurich <bayoubengal at mac dot com>
- To: cygwin-developers at cygwin dot com
- Date: Fri, 26 Apr 2013 16:39:23 -0700
- Subject: Re: native symlink
- References: <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> <51781CA4 dot 3040103 at openafs dot org> <20130424181412 dot GB26397 at calimero dot vinschen dot de>
I had one of my guys test the work this morning. The creation of symlinks works fine. Did you implement a utility that can convert an existing cygwin symlink to native form?
On Apr 24, 2013, at 11:14 AM, Corinna Vinschen wrote:
> On Apr 24 13:55, Jeffrey Altman wrote:
>> 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.
>
> Cool. Thanks for the feedback.
>
>
> Corinna
>
> --
> Corinna Vinschen Please, send mails regarding Cygwin to
> Cygwin Maintainer cygwin AT cygwin DOT com
> Red Hat