summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2016-08-26 14:21:07 -0500
committerWilliam Hubbs <williamh@gentoo.org>2016-08-26 14:26:33 -0500
commit24af4fb374c67661fb1bf9dfb842fae70fd7f5f2 (patch)
treee56b1601f99dd99f74a0befdf06f4a93fce16583 /etc
parentshare.BSD/fstab: make device names generic (diff)
downloadbaselayout-24af4fb374c67661fb1bf9dfb842fae70fd7f5f2.tar.gz
baselayout-24af4fb374c67661fb1bf9dfb842fae70fd7f5f2.tar.bz2
baselayout-24af4fb374c67661fb1bf9dfb842fae70fd7f5f2.zip
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
Diffstat (limited to 'etc')
-rw-r--r--etc/hosts6
1 files changed, 6 insertions, 0 deletions
diff --git a/etc/hosts b/etc/hosts
index 8a37ca53..b3d37218 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.
#