免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2811 | 回复: 3
打印 上一主题 下一主题

mini2440 自己制作的根文件系统 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2010-03-28 22:26 |只看该作者 |倒序浏览
mini2440

我 自己制作的根文件系统,运行还可以 。。。
但是我写了一个测试程序,在终端运行

测试程序,如下:
#include<stdio.h>
main()
{
   while(1)
  {
       printf("--come on---kill me----\n");
  }
}

运行:
("--come on---kill me----
("--come on---kill me----
("--come on---kill me----

论坛徽章:
0
2 [报告]
发表于 2010-03-28 22:27 |只看该作者
运行:显示
--come on---kill me----
--come on---kill me----
--come on---kill me----

但是 我用 Ctrl+c 杀不死它啊

论坛徽章:
5
摩羯座
日期:2014-07-22 09:03:552015元宵节徽章
日期:2015-03-06 15:50:392015亚冠之大阪钢巴
日期:2015-06-12 16:01:352015年中国系统架构师大会
日期:2015-06-29 16:11:2815-16赛季CBA联赛之四川
日期:2018-12-17 14:10:21
3 [报告]
发表于 2010-03-29 07:54 |只看该作者
/dev里面的问题
可以应该是tty和kernel里面的没有对应上吧
google搜索一下

http://busybox.net/FAQ.html#job_control

Job control will be turned off since your shell can not obtain a controlling terminal. This typically happens when you run your shell on /dev/console. The kernel will not provide a controlling terminal on the /dev/console device. Your should run your shell on a normal tty such as tty1 or ttyS0 and everything will work perfectly. If you REALLY want your shell to run on /dev/console, then you can hack your kernel (if you are into that sortof thing) by changing drivers/char/tty_io.c to change the lines where it sets "noctty = 1;" to instead set it to "0". I recommend you instead run your shell on a real console...

论坛徽章:
0
4 [报告]
发表于 2010-03-29 21:44 |只看该作者
shi 是这样的  。。。。。。不知道的 还很多啊
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP