CONSCONTROL(8)
π CONSCONTROL β bestie, it's giving console control
okay so this is from section 8 of the System Manager's Manual, and it's literally called conscontrol β the β¨ control physical system video console devices β¨ girlie. let's get into it.
πΈ SYNOPSIS πΈ
conscontrol [list]
conscontrol mute on | off
conscontrol add | delete console
conscontrol set | unset console
π¦ DESCRIPTION π¦
so conscontrol is the utility you use to examine and modify the physical devices that back your virtual console devices. that's the whole vibe. and if you pass no arguments at all (or literally just the list command), it just shows you the current console settings. easy. iconic.
now, there are two types of logical consoles and you need to know about both, bestie:
- the high level console β represented by
/dev/console - the low level console β this one's for kernel
printf(9)andddb(4)debugger support
meanwhile the high level console is what user programs like syslogd(8) use. π
and here's the thing: multiple device support is implemented only for the low level console. the high level console is just set to the first device in the console list. that's it. that's the rule. no cap.
you can invoke multiple console support by passing the kernel the -D flag from the boot loader, or by using conscontrol to change the list of console devices after the system has booted. either way works, pick your fighter. π₯
β¨ OPTIONS β¨
the following options are available, and yes, we're going through every single one:
add | deleteconsoleβ add or delete a physical device from the logical console. the device has to support low-level console operations, no exceptions. adding a device places it at the front of the list of console devices β and remember, that first device is what's used for the high level console. π
the console argument is the name of a console device in /dev β and good news, the name of the directory may be omitted. so you don't have to type the whole path. slay.
mute on | offβ changes the state of console muting. when console muting is on, all console output is suppressed. like, all of it. silence. πset | unsetconsoleβ set or unset the virtual console. when it's unset, output from the system (stuff like the kernelprintf(9)) always goes out to the real main console. when it's set, it goes to another one. this is basically an interface to the tty ioctlTIOCCONS. iykyk π§
π SEE ALSO π
syscons(4), tty(4), vt(4), boot(8), loader(8)
π HISTORY π
the conscontrol utility first appeared in FreeBSD 5.0. a legend was born. π
π AUTHORS π
Jonathan Lemon β thank you for your service, king. π«Ά
and that's the whole page, bestie β this Debian build of the manual is dated July 7, 2024, so go forth and control those consoles responsibly. mwah π
π¦ where this page comes from
- freebsd 14.5: base 14.5
- freebsd 15.1: base 15.1
- Copyright (c) 2001 Jonathan Lemon <jlemon@FreeBSD.org>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms