Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 07 Oct 2011 08:46:46 -0500
From:      Nathan Whitehorn <nwhitehorn@freebsd.org>
To:        Jaakko Heinonen <jh@FreeBSD.org>
Cc:        freebsd-sysinstall@FreeBSD.org
Subject:   Re: bin/161047: bsdinstall should not run on vt0
Message-ID:  <4E8F02C6.8080501@freebsd.org>
In-Reply-To: <201110070730.p977UGQM025266@freefall.freebsd.org>
References:  <201110070730.p977UGQM025266@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

On 10/07/11 02:30, Jaakko Heinonen wrote:
> The following reply was made to PR bin/161047; it has been noted by GNATS.
>
> From: Jaakko Heinonen<jh@FreeBSD.org>
> To: Ben Kaduk<kaduk@mit.edu>
> Cc: bug-followup@FreeBSD.org
> Subject: Re: bin/161047: bsdinstall should not run on vt0
> Date: Fri, 7 Oct 2011 10:21:30 +0300
>
>   On 2011-09-27, Ben Kaduk wrote:
>   >  In the installer images, bsdinstall appears to be running on vt0,
>   >  which is by default the (video) console.  This means that any console
>   >  spew, such as LOR warnings (which are ~guaranteed at present) will
>   >  overwrite the installer dialogs.  Running the installer on a vt that
>   >  is not the console will prevent this.
>
>   I have an experimental patch to start bsdinstall on ttyv8 when the
>   installer is run on syscons:
>
>   	http://people.freebsd.org/~jh/patches/bsdinstall-getty.3.diff
>

I don't think this works in the context of serial console installations, 
and I'd prefer to keep this kind of logic isolated to things like 
/usr/src/release/rc.local instead of polluting the installer itself with 
knowledge of how it is run. Can you think of a way to do it that doesn't 
break serial installations? There's some logic in rc.local already to 
detect the console type.
-Nathan



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4E8F02C6.8080501>