This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: bug: hard links to soft links do not work
- From: Christopher Faylor <cgf at redhat dot com>
- To: cygwin at cygwin dot com
- Date: Thu, 1 Aug 2002 14:24:16 -0400
- Subject: Re: bug: hard links to soft links do not work
- References: <sa0eldimogw.fsf@glip.premonitia.com>
- Reply-to: cygwin at cygwin dot com
On Thu, Aug 01, 2002 at 02:19:11PM -0400, Sam Steingold wrote:
>cygwin does not handle hard and soft links together:
>
>$ echo "foo" > foo
>$ ln foo 1
>$ cat 1
>foo ; GOOD!
>$ ln -s 1 2
>$ cat 2
>foo ; GOOD!
>$ ln 2 3
>$ cat 3
><some binary data instead of "foo">
>$
>
>I.e., hard links to soft links do not work.
Funny, when I try this on linux, I get:
% ln 2 3
ln: `2': warning: making a hard link to a symbolic link is not portable
cgf
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/