delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/09/09/08:38:27

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Date: Mon, 9 Sep 2002 14:38:14 +0200 (CEST)
From: Marcos Lorenzo de Santiago <marcos AT it DOT uc3m DOT es>
To: Nicholas Wourms <nwourms AT yahoo DOT com>
Cc: Paul Johnston <paj AT pajhome DOT org DOT uk>, cygwin AT cygwin DOT com
Subject: Re: Suggestion: /etc/hosts
In-Reply-To: <20020909122515.69504.qmail@web21006.mail.yahoo.com>
Message-ID: <Pine.LNX.3.96.1020909143622.20485A-100000@varpa.it.uc3m.es>
MIME-Version: 1.0

     > --- Paul Johnston <paj AT pajhome DOT org DOT uk> wrote:
     > > Hi,
     > > 
     > > NT has an equivalent to /etc/hosts, so I think the cygwin install
     > > should
     > > create this symbolic link:
     > > 
     > > /etc/hosts -> ${SYSTEMROOT}/system32/drivers/etc/hosts
     > > 
     > > In fact, you could do this to a few other files in that directory,
     > > like
     > > services and protocols. hosts is the only one I commonly edit
     > > though.
     > > 
     > The problem is that location isn't the right place on Win9X/ME, so it
     > ends up setting things wrong for those users.

Well, anyway, does cygwin internal scripts know whether the OS is a
Windows NT/98/ME/2K/XP? If so that's not a problem. I guess cygwin knows
it and therefore could be achieved (if needed).

Cheers,
m4c.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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