Date: Thu, 26 Sep 2002 11:54:07 -0400 (EDT) From: Guezou Philippe <fifi@infinit.com> To: Andrew Gallatin <gallatin@cs.duke.edu> Cc: Mark Murray <mark@grondar.za>, current@FreeBSD.ORG Subject: Re: ttys patch - any objections? Message-ID: <200209261554.g8QFs8p28626@gimili.netgraphe.com> In-Reply-To: <15763.8701.497010.29864@grasshopper.cs.duke.edu> from Andrew Gallatin at "Sep 26, 2002 11:04:29 am"
next in thread | previous in thread | raw e-mail | index | archive | help
> > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200209261554.g8QFs8p28626>