Displaying 3 results from an estimated 3 matches for "root_nfs_parse".
2002 Aug 24
1
klibc 0.57 trouble
Hi,
I just tried compiling the latest release, but found some new problems:
- Some versions of binutils could not link any shared binaries.
One example for a broken version is 2.11.92.0.12.3, while
2.13.90.0.4 works. The error message looks like:
tests/nfs_no_rpc.o: In function `root_nfs_parse':
tests/nfs_no_rpc.o(.text+0x8): undefined reference to `strchr'
tests/nfs_no_rpc.o(.text+0x10): undefined reference to `strtok'
tests/nfs_no_rpc.o(.text+0x18): undefined reference to `strcmp'
tests/nfs_no_rpc.o(.text+0x1c): undefined reference to `strtoul'
tests/...
2006 Jun 26
0
[klibc 14/43] Remove in-kernel nfsroot code
...v3, "v3"},
- {Opt_udp, "proto=udp"},
- {Opt_udp, "udp"},
- {Opt_tcp, "proto=tcp"},
- {Opt_tcp, "tcp"},
- {Opt_acl, "acl"},
- {Opt_noacl, "noacl"},
- {Opt_err, NULL}
-
-};
-
-/*
- * Parse option string.
- */
-
-static int __init root_nfs_parse(char *name, char *buf)
-{
-
- char *p;
- substring_t args[MAX_OPT_ARGS];
- int option;
-
- if (!name)
- return 1;
-
- /* Set the NFS remote path */
- p = strsep(&name, ",");
- if (p[0] != '\0' && strcmp(p, "default") != 0)
- strlcpy(buf, p, NFS_MAXPATHLEN);...
2003 May 22
0
[PATCH 2.5.69 2/3] Remove NFS root support from the kernel
...quot;broken_suid",~NFS_MOUNT_BROKEN_SUID, NFS_MOUNT_BROKEN_SUID },
- { NULL, 0, 0 }
-};
-
-
-/*
- * Extract IP address from the parameter string if needed. Note that we
- * need to have root_server_addr set _before_ IPConfig gets called as it
- * can override it.
- */
-static void __init root_nfs_parse_addr(char *name)
-{
- int octets = 0;
- char *cp, *cq;
-
- cp = cq = name;
- while (octets < 4) {
- while (*cp >= '0' && *cp <= '9')
- cp++;
- if (cp == cq || cp - cq > 3)
- break;
- if (*cp == '.' || octets == 3)
- octets++;
- if (octets < 4...