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: problem with the link command : ln


On Tue, Jul 09, 2002 at 08:58:09AM +0200, DEMOTTIE Christophe DvSI/SIReS/GRE wrote:
> 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)

Hmm, this command works for me just fine.  I'm running Cygwin 1.3.12
and fileutils 4.1.

    $ uname -a
    CYGWIN_NT-4.0 NTDEVEL 1.3.12(0.54/3/2) 2002-07-03 16:42 i686 unknown
    $ zgrep ln.exe /etc/setup/*.lst.gz
    /etc/setup/fileutils.lst.gz:usr/bin/ln.exe
    $ grep fileutils /etc/setup/installed.db
    fileutils fileutils-4.1-1.tar.bz2 0

Check if you have multiple copies of cygwin1.dll, and see if have
any aliases or scripts also named 'ln' that might be executed instead
of /bin/ln.exe.

Hope this helps.

-- 
Dario Alcocer -- Sr. Software Developer, Helix Digital Inc.
alcocer@helixdigital.com -- http://www.helixdigital.com

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