From owner-freebsd-current Thu Sep 26 8:51:52 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1961F37B401 for ; Thu, 26 Sep 2002 08:51:50 -0700 (PDT) Received: from gimili.netgraphe.com (corporate-surfer.videotron.net [199.84.249.24]) by mx1.FreeBSD.org (Postfix) with ESMTP id C391D43E7B for ; Thu, 26 Sep 2002 08:51:48 -0700 (PDT) (envelope-from fifi@infinit.com) Received: (from fifi@localhost) by gimili.netgraphe.com (8.11.5/8.11.2) id g8QFs8p28626; Thu, 26 Sep 2002 11:54:08 -0400 (EDT) From: Guezou Philippe Message-Id: <200209261554.g8QFs8p28626@gimili.netgraphe.com> Subject: Re: ttys patch - any objections? In-Reply-To: <15763.8701.497010.29864@grasshopper.cs.duke.edu> from Andrew Gallatin at "Sep 26, 2002 11:04:29 am" To: Andrew Gallatin Date: Thu, 26 Sep 2002 11:54:07 -0400 (EDT) Cc: Mark Murray , current@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL70 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > > Mark Murray writes: > > Hi > > > > The attached patch gets done by me any time I set up a FreeBSD > > box (I like lots of VTYs and X on ALT-F12). > > > > Any objections to my committing this? > > I object. > > Most of my machines are headless without video cards and use a serial > console. With devfs this means that /dev/ttyv[1-N] do not exist and > getty bitches like this: > > Sep 26 11:00:11 monet getty[543]: open /dev/ttyv1: No such file or directory > > Its an incredible pain in the ass to get spammed by these things on a > 9600 baud serial console while you're editing ttys to turn the damned > things off. I don't want to have to have 4 more lines of spam to > deal with when installing a new server. i have the same behavior, to fix this, i've built a post install script to automate some taks (suchs as sendmail configs, directory modes, standard users, cvsup/make world (-STABLE) and more..) Here's a part of this script: # commenting virtual consols in /etc/ttys cp /etc/ttys /tmp/temp_ttys cat /tmp/temp_ttys | sed 's/ttyv[12345678]/#&/' > /etc/ttys it's a bit porky, but it works... > > If you also fix getty to silently ignore the problem and go to sleep > forever, then I withdraw my objection. my best "solution" would be a standard postinstall script that you could store on an accessible host, the, after each install, you download and execute that file.. Thus, you wouldn't need to edit the /etc/ttys :) my 2 cents.. fifi... > Thanks, > > Drew > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message > -- Guezou Philippe philippe.guezou@videotron.net FreeBSD, The power to serve. fifi@infinit.com Buying an operating system without source is like buying a self-assembly Space Shuttle with no instructions. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message