From owner-cvs-all@FreeBSD.ORG Mon May 5 21:16:38 2008 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EC5441065672; Mon, 5 May 2008 21:16:38 +0000 (UTC) (envelope-from ticso@cicely12.cicely.de) Received: from raven.bwct.de (raven.bwct.de [85.159.14.73]) by mx1.freebsd.org (Postfix) with ESMTP id 6A4538FC1D; Mon, 5 May 2008 21:16:38 +0000 (UTC) (envelope-from ticso@cicely12.cicely.de) Received: from cicely5.cicely.de ([10.1.1.7]) by raven.bwct.de (8.13.4/8.13.4) with ESMTP id m45L6Ppf010386 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 5 May 2008 23:06:25 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (cicely12.cicely.de [10.1.1.14]) by cicely5.cicely.de (8.14.2/8.14.2) with ESMTP id m45L6KZS024781 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 5 May 2008 23:06:20 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (localhost [127.0.0.1]) by cicely12.cicely.de (8.13.4/8.13.3) with ESMTP id m45L6H8R052310; Mon, 5 May 2008 23:06:17 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: (from ticso@localhost) by cicely12.cicely.de (8.13.4/8.13.3/Submit) id m45L6G8X052309; Mon, 5 May 2008 23:06:17 +0200 (CEST) (envelope-from ticso) Date: Mon, 5 May 2008 23:06:16 +0200 From: Bernd Walter To: "M. Warner Losh" Message-ID: <20080505210616.GD48099@cicely12.cicely.de> References: <5978.1209974842@critter.freebsd.dk> <200805050949.27063.jhb@freebsd.org> <20080505.080823.2086232061.imp@bsdimp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080505.080823.2086232061.imp@bsdimp.com> X-Operating-System: FreeBSD cicely12.cicely.de 5.4-STABLE alpha User-Agent: Mutt/1.5.9i X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED=-1.8, BAYES_00=-2.599 autolearn=ham version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on cicely12.cicely.de Cc: src-committers@FreeBSD.org, kmacy@FreeBSD.org, jhb@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org, phk@phk.freebsd.dk, cperciva@FreeBSD.org Subject: Re: cvs commit: src/etc/etc.mips ttys X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ticso@cicely.de List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 May 2008 21:16:39 -0000 On Mon, May 05, 2008 at 08:08:23AM -0600, M. Warner Losh wrote: > In message: <200805050949.27063.jhb@freebsd.org> > John Baldwin writes: > : On Monday 05 May 2008 04:07:22 am Poul-Henning Kamp wrote: > : > In message <481EB19B.3000201@freebsd.org>, Colin Percival writes: > : > >Poul-Henning Kamp wrote: > : > >> In message <200805050535.m455ZmI1030493@repoman.freebsd.org>, Warner > : > >> Losh write > : > >> > : > >> s: > : > >>> Added files: > : > >>> etc/etc.mips ttys > : > >>> Log: > : > >>> Mips ttys file. Copied from i386 version with removal of the vga > : > >>> entries. > : > >> > : > >> We should really replace this file with a script that generates it > : > >> from a set of sensible parameters at build-time. > : > > > : > >Yes please -- kmacy might have worked around this, but at one point this > : > >was the only non-kernel file which needed to be different for Xen builds. > : > > : > And for anyone looking at this, there is also a task to eliminate the > : > pty devices in this file, the reason why they are there has to do with > : > the introduction of the really weird notion of "remote logins" back in > : > the early 1980'ies, we really could do better. > : > : Err, I thought it was because utmp still uses the line index in /etc/ttys so > : ptys have to be listed in /etc/ttys to get an index. I haven't looked at > : utmpx, but it might be nice if we had a utmp format that 1) didn't limit > : usernames to 16 chars, and 2) stored the name of the tty rather than a dev_t. > : 2) is what I think has broken 'w -M /var/crash/vmcore.X' since 5.x. 3) don't limit hostnames to 16 chars. These days it is even to short for logging IPs as fallback, since inet6 IPs can be longer than the field. I've often seen truncated inet6 IPs. -- B.Walter http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.