Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Jun 2014 10:04:14 -0400
From:      Ed Maste <emaste@freebsd.org>
To:        Steven Hartland <killing@multiplay.co.uk>
Cc:        "svn-src-head@freebsd.org" <svn-src-head@freebsd.org>, Aleksandr Rybalko <ray@freebsd.org>, "src-committers@freebsd.org" <src-committers@freebsd.org>, "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>
Subject:   Re: svn commit: r267626 - head/sys/dev/vt
Message-ID:  <CAPyFy2D36HCobj-BLDiMGthsBk7UX%2BhKU7YncxUvWCB_wvwymA@mail.gmail.com>
In-Reply-To: <11AED2470A6E45B1A3BB2B9549C78B62@multiplay.co.uk>
References:  <201406182230.s5IMUMYp006946@svn.freebsd.org> <11AED2470A6E45B1A3BB2B9549C78B62@multiplay.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
On 19 June 2014 09:48, Steven Hartland <killing@multiplay.co.uk> wrote:
> As per man 9 sysctl negative logic should be avoided so we should
> use enable instead ot disable here:
> kern.vt.enable with a default of 1
>
> With the user setting kern.vt.enable=0 to disable.

I prefer John's suggestion of kern.vidconsole={sc,vt}.  Making it
available as a read-only sysctl gives us a canonical way to determine
which vidconsole is in use (rather than checking for the existence of
the kern.vt.deadtimer sysctl, which some tools currently do).



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPyFy2D36HCobj-BLDiMGthsBk7UX%2BhKU7YncxUvWCB_wvwymA>