Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 To: Nicholas Wourms Cc: Paul Johnston , cygwin AT cygwin DOT com Subject: Re: Suggestion: /etc/hosts In-Reply-To: <20020909122515.69504.qmail@web21006.mail.yahoo.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII > --- Paul Johnston 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/