/dev/console
is a generic name that is given to the system console and usually linked to an implementation-defined special file. /dev/console
is the device to which system messages should be sent and on which logins should be permitted in single-user mode. /dev/console
is opened in the kernel function kernel_init_freeable()
. /dev/tty0
is /dev/console
.