X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Mon, 12 Apr 2010 16:39:22 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: link (corutils) 8.4-2: doesn't link Message-ID: <20100412143922.GB28908@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <87mxx8zric DOT fsf AT gmail DOT com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87mxx8zric.fsf@gmail.com> User-Agent: Mutt/1.5.20 (2009-06-14) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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 AT JIJOU > /cygdrive/d/Downloads/link_test $cp /usr/bin/zoo.exe zoo.exe > > 14:57:37 Paul Bibbings AT JIJOU > /cygdrive/d/Downloads/link_test $link zoo.exe zoo_link > > 14:57:54 Paul Bibbings AT 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? Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple