Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Thu, 27 Jun 2002 11:23:48 +0200
From: Pavel Tsekov <ptsekov@syntrex.com>
Reply-To: Pavel Tsekov <cygwin@cygwin.com>
Organization: Syntrex, Inc.
X-Priority: 3 (Normal)
Message-ID: <1651374155.20020627112348@syntrex.com>
To: "Peter A. Castro" <doctor@fruitbat.org>
CC: cygwin@cygwin.com
Subject: Re: Fun with symlinks?
In-Reply-To: <Pine.LNX.4.21.0206261845460.17279-100000@gremlin.fruitbat.org>
References: <Pine.LNX.4.21.0206261845460.17279-100000@gremlin.fruitbat.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hello Peter,

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

I agree that the setup.exe behaviour in this case maybe needs an
improvement.


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

