/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 console_on_rootfs(). /dev/tty0 is /dev/console.