This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Hosts file


On Tue, 25 Mar 2003, Martin Gainty wrote:

> Where does cygwin look for hosts file ?
> Thanks, Martin

Cygwin is a layer on top of Windows, and it uses the Windows machinery to
implement networking.  Thus, the question is: where does Windows look for
the "hosts" file?  And the answer to that is Windows version-specific, and
could be found by a judicious application of a Google search...

That being said, as a convenience to its users, Cygwin provides a symbolic
link to the Windows hosts file in a standard POSIX place, i.e.,
/etc/hosts.  There are also links to other standard files, such as
/etc/networks, /etc/services, and /etc/protocols.
	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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]