search for: nsfroot

Displaying 1 result from an estimated 1 matches for "nsfroot".

Did you mean: nfsroot
2005 Jan 05
1
[PATCH] kinit/nfsmount.c path from bootp
...get_arg(argc, argv, "nfsroot=")) == NULL ) { + if ((path = dev_bootpath) == NULL || path[0] == '\0') + /* no path - set a default */ + path = (char *) "/tftpboot/%s"; + } else if (dev_bootpath && dev_bootpath[0] != '\0') + fprintf(stderr, + "nsfroot=%s overrides boot server bootpath %s\n", + path, dev_bootpath); + + if ((opts = strchr(path, ',')) != NULL) { + *opts++ = '\0'; + argv[a++] = (char *) "-o"; + argv[a++] = opts; + } + if ((x = strchr(path, ':')) == NULL) { if (addr.s_addr == INADDR_NO...