Home | History | Annotate | Download | only in init

Lines Matching defs:rootdir

207 static char rootdir[PATH_MAX];
854 if (chroot(rootdir) != 0) {
856 rootdir);
935 * The Real(tm) /etc/rc now. Global variable rootdir will tell us
1302 if (chroot(rootdir) != 0) {
1304 sp->se_getty_argv[0], rootdir);
1760 (void)snprintf(path, sizeof(path), "%s/%s", rootdir, _PATH_TTYS);
1828 if (sysctlbyname("init.root", rootdir, &len, NULL, 0) == -1) {
1851 if (rootdir[len] != '\0' || strlen(rootdir) != len - 1) {
1856 if (strcmp(rootdir, "/") == 0)