svn commit: r267626 - head/sys/dev/vt

Ed Maste emaste at freebsd.org
Thu Jun 19 14:04:16 UTC 2014


On 19 June 2014 09:48, Steven Hartland <killing at 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).


More information about the svn-src-head mailing list