This is the mail archive of the cygwin-talk 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: link (corutils) 8.4-2: doesn't link

Corinna Vinschen <> writes:

> On Apr 12 15:15, Paul Bibbings wrote:
>> In the past I have used corutils' link without any problem.  I can't
>> recall when I last did use it successfully, but certainly prior to
>> Cygwin 1.7.  At the moment, however, link is not actually linking, but
>> appears rather to be creating a simple copy of the file linked to, as
>> the following illustrates (on Windows Vista):
>>    14:57:11 Paul Bibbings@JIJOU
>>    /cygdrive/d/Downloads/link_test $cp /usr/bin/zoo.exe zoo.exe
>>    14:57:37 Paul Bibbings@JIJOU
>>    /cygdrive/d/Downloads/link_test $link zoo.exe zoo_link
>>    14:57:54 Paul Bibbings@JIJOU
>>    /cygdrive/d/Downloads/link_test $ls -l
>>    total 128
>>    -rwxr-xr-x+ 2 Paul Bibbings None 65024 Apr 12 14:57 zoo.exe
>>    -rwxr-xr-x+ 2 Paul Bibbings None 65024 Apr 12 14:57 zoo_link.exe
> Looks exactly as expected.  Notice the link count.  if you us `ls -li'
> you will also see that both directory entries have the same inode number,
> so they are referring to the same file.  What's your problem again?

Only my ignorance, it seems!  I promise I won't post again until I've
served my penance. How long is it, again, in the sin bin for
stoopidity? :-)


Paul Bibbings

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