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]

problem with the link command : ln


Hie, I'm french, so excuse me if my english is not perfect.

I've been using cygwin/Xfree since the 4.1 version of Xfree on Windows NT4 SP5,
and I enjoy its product. I try the new version which package cygwin and
Xfree 4.2.0.1 in the same setup. And I have a problem with "ln" command.

The symbolic link is ok, but not the physical link. In the old version,
I hadn't the problem. I don't know how cygwin simulate physical link,
but it's not the problem.

Here is an example of my test :

$ cd /bin
$ ls -l df*
-rwxr-xr-x    1 Admin    Aucun       39936 Jun 15  2001 df.exe

I'm trying to link the "df" command :

$ ln df.exe df1.exe
Segmentation fault (core dumped)

$ cat ln.exe.sta*
Exception: STATUS_ACCESS_VIOLATION at eip=77F348B5
eax=00000000 ebx=02423328 ecx=FFFFFFFF edx=FFFFFFFF esi=0000000C edi=0000000C
ebp=0241F440 esp=0241F414 program=d:\cygwin\bin\ln.exe
cs=001B ds=0023 es=0023 fs=0038 gs=0000 ss=0023
Stack trace:
Frame     Function  Args
0241F440  77F348B5  (00000000, 00000000, 0000000C, FFFFFFFF)
0241FD60  6107120A  (61683890, 616838B8, 0241FE20, 00401D49)
0241FE20  00401EE3  (61683890, 616838B8, 0241FEB0, 00402BB8)
0241FEB0  004032C3  (00000003, 61682738, 0A010278, 0241FEE4)
0241FF00  61005A9E  (610C095C, FFFFFFFE, 000000A0, 610C08A0)
0241FF60  61005D28  (00000000, 00000000, 807FD0F3, 80F92BCC)
0241FF90  0040EB3B  (00402BA4, 0000000A, 00000246, 8011748B)
0241FFC0  0040103D  (0022E430, 0022E3C2, 7FFDF000, 7FFDF000)
0241FFF0  77F1BA06  (00401000, 00000000, 000000B0, 00000100)
End of stack trace

$ ln -s df.exe df1.exe

$ ls -l df*
-rwxr-xr-x    1 Admin    Aucun       39936 Jun 15  2001 df.exe
lrwxrwxrwx    1 Admin    Aucun          92 Jul  5 10:55 df1.exe -> df.exe

The symbolic link is ok, but not the physical link. In the old version,
I hadn't the problem.

Christophe.


Have a good day.

--
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]