主题 : 关于2.6内核的光驱mount 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 15000
精华: 0
发帖: 13
金钱: 65 两
威望: 13 点
综合积分: 26 分
注册时间: 2010-02-26
最后登录: 2010-09-06
楼主  发表于: 2010-03-22 11:11

 关于2.6内核的光驱mount

我用的是redhat Linux,我把内核从2.4升级到2.6版本。运行2.4版本的时候,能mount光驱,当运行2.6内核时就找不到光驱了。请问各位大虾,这是怎么回事,是在内核配置时出的问题吗?
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
1楼  发表于: 2010-03-22 16:22
可能是设备节点的名字变了。
放入光盘后, 执行
$ls -l /sys/class/block

看看有些什么
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."
级别: 新手上路
UID: 15000
精华: 0
发帖: 13
金钱: 65 两
威望: 13 点
综合积分: 26 分
注册时间: 2010-02-26
最后登录: 2010-09-06
2楼  发表于: 2010-03-23 15:58
我的系统里没有sys这个目录呀
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
3楼  发表于: 2010-03-23 16:19

 回 2楼(shanefeng) 的帖子

google "2.6内核升级如何挂载sysfs"
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."
级别: 新手上路
UID: 15000
精华: 0
发帖: 13
金钱: 65 两
威望: 13 点
综合积分: 26 分
注册时间: 2010-02-26
最后登录: 2010-09-06
4楼  发表于: 2010-03-24 09:52
我忘记了创建sys目录和修改rc.sysinit文件,现在完成了这些工作。在/sys/block目录下的文件有fd0,sda,loop0~loop7,ram0~ram15几个目录。