From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13607 invoked by alias); 4 Jul 2002 22:02:09 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 13600 invoked from network); 4 Jul 2002 22:02:08 -0000 Received: from unknown (HELO ripple.fruitbat.org) (66.80.62.153) by sources.redhat.com with SMTP; 4 Jul 2002 22:02:08 -0000 Received: (from daemon@localhost) by ripple.fruitbat.org (8.10.2/8.8.8/PAC-1.3) id g64M0oh08545 for ; Thu, 4 Jul 2002 15:00:50 -0700 Received: from ming.fruitbat.org(192.168.1.2) by ripple.fruitbat.org via smap (V2.1/2.1+anti-relay+anti-spam) id xma008542; Thu, 4 Jul 02 15:00:04 -0700 Received: from gremlin.fruitbat.org (doctor@gremlin.fruitbat.org [192.168.1.4]) by ming.fruitbat.org (8.10.2/8.10.2/PAC-1.6) with ESMTP id g64M04L05427 for ; Thu, 4 Jul 2002 15:00:04 -0700 Date: Thu, 04 Jul 2002 15:20:00 -0000 From: "Peter A. Castro" To: cygwin@cygwin.com Subject: Re: Fun with symlinks? In-Reply-To: <1651374155.20020627112348@syntrex.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SW-Source: 2002-07/txt/msg00367.txt.bz2 On Thu, 27 Jun 2002, Pavel Tsekov wrote: > Hello Peter, Hi Pavel! > Thursday, June 27, 2002, 7:17:25 AM, you wrote: > > [snip] > > PAC> Fine, so far. Now, suppose you got a notice that a new Bash was uploaded > PAC> to the cygwin release area. So, you fire up 'setup' and tell it to > PAC> upgrade Bash. Now, start Bash. Notice your changes don't show up anymore. > PAC> Now, do an 'ls -al /etc/pro*' > > PAC> -rw-r--r-- 1 Administ None 386 May 30 19:08 /etc/profile > PAC> -rw-r--r-- 1 Administ None 386 May 30 19:08 /etc/profile > > This is not real :) If you go to the /etc directory from a windows > command prompt and type 'dir' you will see: > > profile > profile.lnk > > The second one is your link and it is compatible with the windows type > shortcuts. I'm quite aware that this is a windows shortcut, but the issue is that under the cygwin environment, you will see two, identically named, files under these conditions. > I know there is a way, in terms of a flag in the CYGWIN variable, to > control the type of symlinks which cygwin creates, but I don't > remember the details :( You can check the user's guide though. It's not so much how the cygwin environment creates symlinks but how the *installer* (setup.exe) creates them (or ignore them :-). > I agree that the setup.exe behaviour in this case maybe needs an > improvement. I seem to recall seeing a note from Corinna saying she had an enhancement for this, but it doesn't appear to have made it into the code. -- Peter A. Castro or "Cats are just autistic Dogs" -- Dr. Tony Attwood -- 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/