commit:     24af4fb374c67661fb1bf9dfb842fae70fd7f5f2
Author:     William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 26 19:21:07 2016 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Fri Aug 26 19:26:33 2016 +0000
URL:        https://gitweb.gentoo.org/proj/baselayout.git/commit/?id=24af4fb3

etc/hosts: document the alias order

Add documentation showing that the first host alias is the canonical
host name.

X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=536624

 etc/hosts | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/etc/hosts b/etc/hosts
index 8a37ca5..b3d3721 100644
--- a/etc/hosts
+++ b/etc/hosts
@@ -3,6 +3,12 @@
 # This file describes a number of aliases-to-address mappings for the for 
 # local hosts that share this file.
 #
+# The format of lines in this file is:
+#
+# IP_ADDRESS   canonical_hostname      [aliases...]
+#
+#The fields can be separated by any number of spaces or tabs.
+#
 # In the presence of the domain name service or NIS, this file may not be 
 # consulted at all; see /etc/host.conf for the resolution order.
 #

Reply via email to