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
<pedantic>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.</pedantic> Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ [EMAIL PROTECTED] ZZZzz /,`.-'`' -. ;-;;,_ [EMAIL PROTECTED] |,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/