From owner-freebsd-hackers Tue Jan 16 3:44:24 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from smtp.nettoll.com (matrix.nettoll.net [212.155.143.61]) by hub.freebsd.org (Postfix) with ESMTP id 3942B37B401; Tue, 16 Jan 2001 03:44:06 -0800 (PST) Received: by smtp.nettoll.com; Tue, 16 Jan 2001 12:40:12 +0100 (MET) Message-Id: <4.3.0.20010116124844.00ad5a60@pop.free.fr> X-Sender: usebsd@pop.free.fr X-Mailer: QUALCOMM Windows Eudora Version 4.3 Date: Tue, 16 Jan 2001 12:55:01 +0100 To: Archie Cobbs , Warner Losh From: mouss Subject: Re: Setting default hostname to localhost Cc: Robert Watson , freebsd-hackers@FreeBSD.ORG In-Reply-To: <200101121945.LAA01072@curve.dellroad.org> References: <200101121728.f0CHSHs81776@harmony.village.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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