Date: Mon, 15 Jan 1996 10:31:11 -0600 From: dkelly@tomcat1.tbe.com (David Kelly) To: questions@freebsd.org Subject: "man hosts" question Message-ID: <v02130502ad202ec5ddd0@[140.165.210.81]>
next in thread | raw e-mail | index | archive | help
In helping a non-unix friend setup FreeBSD for the first time I checked "man hosts" and now think this FreeBSD man page is in error. > The hosts file contains information regarding the known hosts on the net- > work. For each host a single line should be present with the following > information: > > official host name > Internet address > aliases > > Items are separated by any number of blanks and/or tab characters. A > ``#'' indicates the beginning of a comment; characters up to the end of > the line are not interpreted by routines which search the file. Shouldn't the internet address preceed the official host name? No where else in the man page does it suggest the correct order is any other than the above list. Consulting Irix 5.3: > The /etc/hosts file contains information regarding the known hosts on the > network. For each host a single line should be present with the > following information: > > o Internet address > > o official host name > > o aliases (optional) The man page under Irix is almost identical. However the order of items is different, while Irix and FreeBSD host files are interchangable. -- David Kelly N4HHE, dkelly@tomcat1.tbe.com, dkelly@iquest.com ============================================================ If you make people think they're thinking, they'll love you; but if you really make them think they'll hate you.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?v02130502ad202ec5ddd0>
