This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: bug: hard links to soft links do not work


On Thu, Aug 01, 2002 at 02:35:43PM -0400, Sam Steingold wrote:
>> * In message <20020801182416.GD26315@redhat.com>
>> * On the subject of "Re: bug: hard links to soft links do not work"
>> * Sent on Thu, 1 Aug 2002 14:24:16 -0400
>> * Honorable Christopher Faylor <cgf@redhat.com> writes:
>>
>> 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
>
>indeed - but it works on linux as expected.
>cygwin should either barf of DTRT.
>I take your reply to mean that this is not getting changed.

You can take almost any reply that I make as "Patches gratefully
accepted."

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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]