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 13:47:38 -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: Message-ID: Importance: Normal MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Tue, 25 Mar 2003, Thorsten Kampe wrote: > * Igor Pechtchanski (03-03-25 18:33 +0100) > > 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. > > Well, I thought some /applications/ were explictly looking and > complaining for the existence of the "most important" files on a Unix > host and this was the reason for the hosts, networks, services and > protocols links. > > Thorsten I am not aware of any. AFAIK (and I should, I participated in the creation of the package that makes them) the links are purely for user convenience (and uniformity). 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/