找回密码
 注册
查看: 948|回复: 1

chroot和rdev有什么区别?

[复制链接]
发表于 2003-3-20 18:33:10 | 显示全部楼层 |阅读模式
我知道用法。但是有什么区别,什么时候该用什么呀?谢谢
发表于 2003-3-20 23:05:50 | 显示全部楼层
base on my understanding. chroot will change u current environment to specific directory and treat that as if you new root.
but rdev is to set parameter into image and has effect next time when boot. for example like ramsize, rootflags, both of these are used in boot. you can read /src/linux/init/main.c and do_mounts.c for detail.
am i wrong? i am not quite sure.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2025-2-14 12:17 , Processed in 0.043307 second(s), 15 queries .

© 2001-2025 Discuz! Team. Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表