public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Christopher Faylor <cgf-use-the-mailinglist-please@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: ln -s symlink question
Date: Sun, 06 Sep 2009 15:39:00 -0000	[thread overview]
Message-ID: <20090906153854.GB21356@ednor.casa.cgf.cx> (raw)
In-Reply-To: <a71bd89a0909060539x31f356a1j1eb5ae3f996052c4@mail.gmail.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

      reply	other threads:[~2009-09-06 15:39 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-06 12:39 Dan Kegel
2009-09-06 15:39 ` Christopher Faylor [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090906153854.GB21356@ednor.casa.cgf.cx \
    --to=cgf-use-the-mailinglist-please@cygwin.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).