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

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.9 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_13,SARE_MSGID_LONG40,SPF_PASS
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Date: Sun, 6 Sep 2009 05:39:04 -0700
Message-ID: <a71bd89a0909060539x31f356a1j1eb5ae3f996052c4@mail.gmail.com>
Subject: ln -s symlink question
From: Dan Kegel <dank AT kegel DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

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?

Thanks,
Dan

--
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