delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/10/12/18:46:34

X-Spam-Check-By: sourceware.org
Date: Fri, 13 Oct 2006 00:46:09 +0200 (MET DST)
From: Angelo Graziosi <Angelo DOT Graziosi AT roma1 DOT infn DOT it>
To: cygwin AT cygwin DOT com
Subject: Wrong links in /etc
Message-ID: <Pine.OSF.4.21.0610130027570.32064-100000@ax0rm1.roma1.infn.it>
MIME-Version: 1.0
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

Following the discussion "Re: [ANNOUNCEMENT] Updated: vim-7.0.122-1"
(http://cygwin.com/ml/cygwin/2006-10/msg00411.html...)
I have discovered that in /etc there are 4 wrong links (I say that them
are 'wrong' because 'ls' shows them in RED instead of CYAN):

   hosts -> C:\WINDOWS\system32\drivers\etc\hosts
   protocols -> C:\WINDOWS\system32\drivers\etc\protocol
   services -> C:\WINDOWS\system32\drivers\etc\services
   networks -> C:\WINDOWS\system32\drivers\etc\networks

Now, I have the cygdrive prefix mounted to '/', i.e. when I installed
Cygwin, I have run

   mount --change-cygdrive-prefix /

so that I can access drives as /c (C:), /a (A:), /d (D:, DVD burner) and
/e (E: CD burner).

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



Thanks,

   Angelo.


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