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 X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs Date: Tue, 25 Mar 2003 12:33:23 -0500 (EST) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: Thorsten Kampe cc: cygwin AT cygwin DOT com Subject: Re: Hosts file In-Reply-To: <12zf1iw605qn4.dlg@thorstenkampe.de> Message-ID: Importance: Normal MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Tue, 25 Mar 2003, Thorsten Kampe wrote: > * Martin Gainty (03-03-25 18:07 +0100) > > Where does cygwin look for hosts file ? > > "Cygwin" doesn't care about "hosts". The applications are looking for > it in /etc and it is symlinked to the Windows default file in > %SYSTEMROOT%\system32\drivers\etc\. > Thorsten The applications (through wsock32.dll) look for it in the standard Windows place, which is %SYSTEMROOT%\system32\drivers\etc\ on WinNT/2k/XP and %WINDIR%\ on Win9x. The symlink is for the users. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Oh, boy, virtual memory! Now I'm gonna make myself a really *big* RAMdisk! -- /usr/games/fortune -- 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/