git: kernel - adjust devfs mount point according to init_chroot loader variable
YONETANI Tomokazu
y0netan1 at crater.dragonflybsd.org
Sat Feb 5 01:32:36 PST 2011
commit 358c69e996e6dd4278ea6a92d322b973548c4ce8
Author: YONETANI Tomokazu <y0netan1 at 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
More information about the Commits
mailing list