delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/09/06/11:39:17

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Sun, 6 Sep 2009 11:38:54 -0400
From: Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: ln -s symlink question
Message-ID: <20090906153854.GB21356@ednor.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <a71bd89a0909060539x31f356a1j1eb5ae3f996052c4 AT mail DOT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <a71bd89a0909060539x31f356a1j1eb5ae3f996052c4@mail.gmail.com>
User-Agent: Mutt/1.5.20 (2009-06-14)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On Sun, Sep 06, 2009 at 05:39:04AM -0700, Dan Kegel wrote:
>Hi folks,
>I'm adding support for hidden and system attributes to Wine
>to support cygwin's symlinks.   The following questions
>are not wine-related; I'm doing my testing on vista.
>
>If I look at /bin/vi with both dir in cmd and ls -l in cygwin, I see
>that it's a non-.lnk symlink, i.e. dir shows it as an 18 byte
>system file, and ls -l shows it as a symlink.
>
>But I can't seem to create that style of symlink with ln -s.
>If I do
>  ln -s a b
>and then in cmd do
>  dir b*
>I see a 333 byte non-system file named b.lnk.
>
>What's going on?  How can I create the other style of symlink
>with ln -s?

Either use Cygwin 1.7 or use the appropriate CYGWIN environment
variable settings:

http://cygwin.com/cygwin-ug-net/using-cygwinenv.html

i.e., CYGWIN=nowinsymlinks

cgf

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019