当系统启动成功后,在 TTY 中,内核还是在不停的写入消息,影响操作;
这个消息是内核写入的,不时 MESG,WALL 等命名写入的,所以单纯的使用mesg n命令是无效的;
需要修改/etc/sysctl.conf文件:
# Uncomment the following to stop low-level messages on console kernel.printk = 3 4 1 3
然后,执行sysctl –system使修改生效;
参考文献
How to stop kernel messages from flooding my console?