delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/10/12/19:02:10

X-Spam-Check-By: sourceware.org
Message-ID: <452EC959.7642F0D1@dessent.net>
Date: Thu, 12 Oct 2006 16:01:45 -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: cygwin AT cygwin DOT com
Subject: Re: Wrong links in /etc
References: <Pine DOT OSF DOT 4 DOT 21 DOT 0610130027570 DOT 32064-100000 AT ax0rm1 DOT roma1 DOT infn DOT it>
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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

Angelo Graziosi wrote:
> 
> Following the discussion "Re: [ANNOUNCEMENT] Updated: vim-7.0.122-1"
> (http://cygwin.com/ml/cygwin/2006-10/msg00411.html...)

So why are you starting a new thread when the discussion in the existing
one is still ongoing?
<http://cygwin.com/ml/cygwin/2006-10/msg00463.html>

> I would ask if it is the case, as workaround, to recreate, manually, those
> links in the correct way, for example:
> 
>    ln -sf /c/WINDOWS/system32/drivers/etc/hosts hosts

Or more simply just

for F in hosts protocols services networks; do ln -sf "$(cygpath
-S)/drivers/etc/$F" $F; done

But the whole point is that if you (or another user on the system) later
changes the cygdrive prefix after you create the links, then they will
break.  So as long as you don't regularly change cygdrive then that is
fine, but for the purposes of a "correct" solution the need remains for
a /cygdrive-like tree that can be relied on existing.

FWIW, my vote goes for making something like /dev/systemroot to map to
the Windows system32 directory, rather than making a second cygdrive
prefix that never changes.

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