* ln -s symlink question
@ 2009-09-06 12:39 Dan Kegel
2009-09-06 15:39 ` Christopher Faylor
0 siblings, 1 reply; 2+ messages in thread
From: Dan Kegel @ 2009-09-06 12:39 UTC (permalink / raw)
To: cygwin
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: ln -s symlink question
2009-09-06 12:39 ln -s symlink question Dan Kegel
@ 2009-09-06 15:39 ` Christopher Faylor
0 siblings, 0 replies; 2+ messages in thread
From: Christopher Faylor @ 2009-09-06 15:39 UTC (permalink / raw)
To: cygwin
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-09-06 15:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-06 12:39 ln -s symlink question Dan Kegel
2009-09-06 15:39 ` Christopher Faylor
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).