public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Dan Kegel <dank@kegel.com>
To: cygwin@cygwin.com
Subject: ln -s symlink question
Date: Sun, 06 Sep 2009 12:39:00 -0000	[thread overview]
Message-ID: <a71bd89a0909060539x31f356a1j1eb5ae3f996052c4@mail.gmail.com> (raw)

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

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

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

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=a71bd89a0909060539x31f356a1j1eb5ae3f996052c4@mail.gmail.com \
    --to=dank@kegel.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).