git: kernel - adjust devfs mount point according to init_chroot

看板DFBSD_commit作者時間15年前 (2011/02/05 18:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit 358c69e996e6dd4278ea6a92d322b973548c4ce8 Author: YONETANI Tomokazu <y0netan1@dragonflybsd.org> Date: Wed Feb 2 18:45:16 2011 +0900 kernel - adjust devfs mount point according to init_chroot loader variable /dev is mounted before /sbin/init is executed, so when it chroot() itself and execute the shell, the chroot()'ed space doesn't contain the mounted devfs inside it and the shell gets stuck. Summary of changes: sys/kern/vfs_conf.c | 17 ++++++++++++++++- 1 files changed, 16 insertions(+), 1 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/358c69e996e6dd4278ea6a92d322b973548c4ce8 -- DragonFly BSD source repository
文章代碼(AID): #1DJH_ZoP (DFBSD_commit)