Figure 6-8. Fewer virtual terminals. Removing mingetty entries from /etc/inittab
1:2345:respawn:/sbin/mingetty tty1 # Additional virtual terminals are not used # 2:2345:respawn:/sbin/mingetty tty2 # 3:2345:respawn:/sbin/mingetty tty3 # 4:2345:respawn:/sbin/mingetty tty4 # 5:2345:respawn:/sbin/mingetty tty5 # 6:2345:respawn:/sbin/mingetty tty6 |
After restarting init it would be wise to remove the unused device files.
Figure 6-9. Fewer virtual terminals. Deallocating unused virtual terminals and removing their device files.
bash# telinit q bash# deallocvt /dev/tty[2-9] /dev/tty[0-9][0-9] bash# rm /dev/tty[2-9] /dev/tty[0-9][0-9] |