delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/09/20/12:49:12

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
X-IronPort-AV: E=Sophos;i="4.20,279,1186383600"; d="scan'208";a="221917066"
MIME-Version: 1.0
Subject: RE: Ls POSIX style slink output
Date: Thu, 20 Sep 2007 09:49:08 -0700
Message-ID: <70952A932255A2489522275A628B97C3052E989D@xmb-sjc-233.amer.cisco.com>
In-Reply-To: <46F1CC1B.C02FFEF6@dessent.net>
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>
From: "Matt Seitz \(matseitz\)" <matseitz AT cisco DOT com>
To: <cygwin AT cygwin DOT com>
Authentication-Results: sj-dkim-3; header.From=matseitz AT cisco DOT com; dkim=pass ( sig from cisco.com/sjdkim3002 verified; );
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id l8KGmqY6007805

From: Brian Dessent [mailto:brian AT dessent DOT net] 
> 
> Yes, those symlinks in /etc are explicitly created with Win32 
> paths by the base-files postinstall script.  I think the 
> reasoning here is that if a POSIX path were used for the 
> target of the symlink then it would have to be updated if the 
> user ever changed the name of the /cygdrive prefix, whereas 
> just using a Win32 path is always correct and insulates from 
> that variable.

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.

--
Matt Seitz
Manager, File System Virtualization
Cisco Systems, Inc.
.:|:.:|:.  

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