cnhnln 发表于 2003-3-20 18:33:10

chroot和rdev有什么区别?

我知道用法。但是有什么区别,什么时候该用什么呀?谢谢

Dragonfly 发表于 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.
页: [1]
查看完整版本: chroot和rdev有什么区别?