Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在做LFS,完成了编译过程,来到了进入cheroot环境的部分,提供的代码。
但我收到了这个错误:mesg: ttyname failed: no such device
mesg: ttyname failed: no such device
我该如何解决这个问题?
mesg n你 /root/.profile 里面有一个命令。只需将其注释掉或确保它仅在 tty 上运行时运行test -t 0 && mesg n。
mesg n
test -t 0 && mesg n