> > 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 [EMAIL PROTECTED] > with "unsubscribe freebsd-current" in the body of the message > -- Guezou Philippe [EMAIL PROTECTED] FreeBSD, The power to serve. [EMAIL PROTECTED] Buying an operating system without source is like buying a self-assembly Space Shuttle with no instructions. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message