www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/09/20/13:21:08

X-Recipient: archive-cygwin AT delorie DOT 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 AT dessent DOT net>
X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U)
MIME-Version: 1.0
To: "Matt Seitz (matseitz)" <matseitz AT cisco DOT com>
CC: cygwin AT cygwin DOT com
Subject: Re: Ls POSIX style slink output
References: <70952A932255A2489522275A628B97C3052E9663 AT xmb-sjc-233 DOT amer DOT cisco DOT com> <46F1C712 DOT 7050309 AT byu DOT net> <46F1CC1B DOT C02FFEF6 AT dessent DOT net> <70952A932255A2489522275A628B97C3052E989D AT xmb-sjc-233 DOT amer DOT cisco DOT com>
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019