Searched refs:init_chroot (Results 1 – 3 of 3) sorted by relevance
222 const char *devfs_path, *init_chroot; in vfs_mountroot_devfs() local225 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()
220 char *init_chroot; in main() local280 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()
380 set init_chroot=<path>