Lines Matching refs:rootpath
173 setenv("boot.nfsroot.path", rootpath, 1);
317 if (bp_getfile(sock, "root", &rootip, rootpath)) {
328 printf("net_open: server path: %s\n", rootpath);
355 * Strip the server's address off of the rootpath if present and return it in
356 * network byte order, leaving just the pathname part in the global rootpath.
364 for (i = 0; rootpath[i] != '\0' && i < FNAME_SIZE; i++)
365 if (rootpath[i] == ':')
367 if (i && i != FNAME_SIZE && rootpath[i] == ':') {
368 rootpath[i++] = '\0';
369 addr = inet_addr(&rootpath[0]);
370 bcopy(&rootpath[i], rootpath, strlen(&rootpath[i])+1);