Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Jan 2001 12:55:01 +0100
From:      mouss <usebsd@free.fr>
To:        Archie Cobbs <archie@dellroad.org>, Warner Losh <imp@harmony.village.org>
Cc:        Robert Watson <rwatson@FreeBSD.ORG>, freebsd-hackers@FreeBSD.ORG
Subject:   Re: Setting default hostname to localhost
Message-ID:  <4.3.0.20010116124844.00ad5a60@pop.free.fr>
In-Reply-To: <200101121945.LAA01072@curve.dellroad.org>
References:  <200101121728.f0CHSHs81776@harmony.village.org>

next in thread | previous in thread | raw e-mail | index | archive | help
A look at /usr/src/libexec/getty/main.c shows the folowing:
         if (hostname[0]  == '\0')
                 strcpy(hostname, "Amnesiac");

so, coherence suggests that the default should be "Amnesiac".
Othewise, you'll get different hostnames for dhcp (and the like), and
getty sessions.

regards,
mouss


At 11:45 12/01/01 -0800, Archie Cobbs wrote:

>There is an RFC that specifies a "private use" top level domain,
>analogous to 192.168.0.0/16, 10.0.0.0/8, etc.
>
>The domain is ".local" so any default ending in ".local" should
>not conflict.
>
>-Archie
>
>___________________________________________________________________________
>Archie Cobbs   *   Whistle Communications, Inc.  *   http://www.whistle.com
>
>
>To Unsubscribe: send mail to majordomo@FreeBSD.org
>with "unsubscribe freebsd-hackers" in the body of the message



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4.3.0.20010116124844.00ad5a60>