Lines Matching refs:rootpath
120 error = nfs_mount(netdev_sock, rootip, rootpath);
129 printf("root addr=%s path=%s\n", inet_ntoa(rootip), rootpath);
258 if (bp_getfile(sock, "root", &rootip, rootpath)) {
264 * If present, strip the server's address off of the rootpath
268 for (i = 0; i < FNAME_SIZE && rootpath[i] != '\0'; i++)
269 if (rootpath[i] == ':')
271 if (i && i != FNAME_SIZE && rootpath[i] == ':') {
272 rootpath[i++] = '\0';
273 if (inet_addr(&rootpath[0]) != INADDR_NONE)
274 rootip.s_addr = inet_addr(&rootpath[0]);
275 memcpy(&temp[0], &rootpath[i], strlen(&rootpath[i])+1);
276 memcpy(&rootpath[0], &temp[0], strlen(&rootpath[i])+1);
281 printf("net_open: server path: %s\n", rootpath);
307 setenv("boot.nfsroot.path", rootpath, 1);