Home
last modified time | relevance | path

Searched refs:init_chroot (Results 1 – 3 of 3) sorted by relevance

/dflybsd-src/sys/kern/
H A Dvfs_conf.c222 const char *devfs_path, *init_chroot; in vfs_mountroot_devfs() local
225 if ((init_chroot = kgetenv("init_chroot")) != NULL) { in vfs_mountroot_devfs()
228 l = strlen(init_chroot) + sizeof("/dev"); in vfs_mountroot_devfs()
230 ksnprintf(dev_malloced, l, "%s/dev", init_chroot); in vfs_mountroot_devfs()
/dflybsd-src/sbin/init/
H A Dinit.c220 char *init_chroot; in main() local
280 init_chroot = get_chroot(); in main()
281 if (init_chroot != NULL) { in main()
282 if (chdir(init_chroot) == -1 || chroot(".") == -1) in main()
283 warning("can't chroot to %s: %m", init_chroot); in main()
284 free(init_chroot); in main()
/dflybsd-src/stand/boot/common/
H A Dhelp.common380 set init_chroot=<path>