X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
Message-ID: <46F2ABDF.1B3FE843@dessent.net>
Date: Thu, 20 Sep 2007 10:20:31 -0700
From: Brian Dessent <brian@dessent.net>
X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U)
MIME-Version: 1.0
To: "Matt Seitz (matseitz)" <matseitz@cisco.com>
CC: cygwin@cygwin.com
Subject: Re: Ls POSIX style slink output
References: <70952A932255A2489522275A628B97C3052E9663@xmb-sjc-233.amer.cisco.com> <46F1C712.7050309@byu.net> <46F1CC1B.C02FFEF6@dessent.net> <70952A932255A2489522275A628B97C3052E989D@xmb-sjc-233.amer.cisco.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Reply-To: cygwin@cygwin.com
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

"Matt Seitz (matseitz)" wrote:

> I appreciate your taking the time to read my suggestion and respond so
> quickly with such a complete clear and complete explanation.
> 
> As an alternative suggestion, how about using forward slashes instead of
> backwards slashes ("C:/windows/system32/drivers/etc/hosts") in the
> base-files postinstall script?  That would allow pasting the "ls -l"
> ouput to "cd", without using the riskier "/cygdrive" prefix.

That would be up to the base-files package maintainer, however I don't
think it's necessary.  As I said the current DLL code already normalizes
symlink targets so if you use a snapshot you will see those links in
POSIX form with "ls -l" even though they're stored on disk as Win32
paths.  If you want a temporary local fix that doesn't involve using a
snapshot you can just recreate the links in any form you want, as the
base-files postinstall will not overwrite or recreate them if they
exist.

Brian

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

