Chinaunix首页 | 论坛 | 博客
  • 博客访问: 625297
  • 博文数量: 329
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 693
  • 用 户 组: 普通用户
  • 注册时间: 2015-01-05 23:37
个人简介

Do not panic!

文章存档

2021年(1)

2018年(3)

2017年(7)

2016年(98)

2015年(220)

我的朋友

分类: 嵌入式

2016-07-06 16:31:06

在pc上执行telnet时就会出现Escape character is '^]'.提示
luther@gliethttp:~$ telnet 192.168.1.102
Trying 192.168.1.102...
Connected to 192.168.1.102.
Escape character is '^]'.
Connection closed by foreign host.
在开发板上使用-F将telnetd到前台运行,发现有如下一个错误log.
# telnetd -F
telnetd: ptsname error (is /dev/pts mounted?): No such file or directory
汗,原来是/dev/pts目录没有建立,本来以为mdev -s会自动创建和mount上系统,看来只能自己创建目录和mount上devfs了.
其实因为built-in的initramfs只创建/dev,/dev/console和/root,所以pts还是要我们自己创建的[luther.gliethttp]
当unpack_to_rootfs发现/dev已经因为我们自己的initramfs.gz已经创建之后,并不会覆盖,仅仅是简单的略过而已,
随后他会写入/dev/console节点,之后就是/root目录了[luther.gliethttp]
阅读(1119) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~