Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/etc Replace the comment on this file. It appears to date bac...



details:   https://anonhg.NetBSD.org/src/rev/6e240c5f3589
branches:  trunk
changeset: 791583:6e240c5f3589
user:      dholland <dholland%NetBSD.org@localhost>
date:      Sun Nov 24 07:20:01 2013 +0000

description:
Replace the comment on this file. It appears to date back to CSRG days
and in particular was clearly last edited before nsswitch.conf existed.

diffstat:

 etc/hosts |  15 +++++++++------
 1 files changed, 9 insertions(+), 6 deletions(-)

diffs (24 lines):

diff -r 800593f8a2f7 -r 6e240c5f3589 etc/hosts
--- a/etc/hosts Sun Nov 24 03:50:17 2013 +0000
+++ b/etc/hosts Sun Nov 24 07:20:01 2013 +0000
@@ -1,11 +1,14 @@
-#      $NetBSD: hosts,v 1.8 2009/07/03 22:32:55 hubertf Exp $
+#      $NetBSD: hosts,v 1.9 2013/11/24 07:20:01 dholland Exp $
+#
+# Host name database.
 #
-# Host Database
-# This file should contain the addresses and aliases
-# for local hosts that share this file.
-# It is used only for "ifconfig" and other operations
-# before the nameserver is started.
+# This file contains addresses and aliases for local hosts whose names
+# need to be resolvable during system boot; typically this includes only
+# the address and FQDN for this machine's hostname.
 #
+# By default this file is consulted before DNS, so adding additional
+# material here that then becomes out of date can lead to confusion.
+# See nsswitch.conf(5).
 #
 ::1                    localhost localhost.
 127.0.0.1              localhost localhost.



Home | Main Index | Thread Index | Old Index