search for: mount_nfs_root

Displaying 4 results from an estimated 4 matches for "mount_nfs_root".

2005 Jan 05
1
[PATCH] kinit/nfsmount.c path from bootp
kinit/nfsmount.c:mount_nfs_root() should use the bootpath specified by bootp/dhcp. If the "nfsroot" option is specified then it overrides the boot server bootpath and a message indicating the override is printed. --- klibc-0.194/kinit/nfsroot.c.orig 2005-01-05 04:13:47.043897880 -0700 +++ klibc-0.194/kinit/nfsroot.c 2...
2011 Aug 07
2
[PATCH] kinit minor checkpatch cleanup
...= '\0') { /* Colon-separated decimal device number */ *cptr = '\0'; major_num = strtoul(devname+5, &e1, 10); diff --git a/usr/kinit/nfsroot.c b/usr/kinit/nfsroot.c index b5ab3bb..3b80773 100644 --- a/usr/kinit/nfsroot.c +++ b/usr/kinit/nfsroot.c @@ -56,9 +56,8 @@ int mount_nfs_root(int argc, char *argv[], int flags) dev_bootpath = dev->bootpath; break; } - if (dev->ip_addr != INADDR_NONE && dev->ip_addr != INADDR_ANY) { + if (dev->ip_addr != INADDR_NONE && dev->ip_addr != INADDR_ANY) client = dev->ip_addr; - } } /* @@...
2010 Mar 02
17
[PATCH 00/16] External building, update for 2.6.33 and multiple root devices.
The following patchset implements 3 seperate series of changes. External Building ================= Patches 1 through 8 enable to use of klibc's build system while leaving the src tree pristine (and potentially read only). Specifically: - srctree=<Sources for klibc> - objtree=<Ouput directory for klibc> - KLIBCKERNELSRC=<Kernel sources> - KLIBCKERNELOBJ=<Kernel
2003 May 22
0
[PATCH 2.5.69 2/3] Remove NFS root support from the kernel
...uot;) == 0) - goto done; if (strlen(name) > 31) goto fail; @@ -168,6 +167,7 @@ sys_umount("/sys", 0); out: sys_rmdir("/sys"); +nada: return res; fail: res = (dev_t) 0; @@ -275,19 +275,6 @@ putname(fs_names); } -#ifdef CONFIG_ROOT_NFS -static int __init mount_nfs_root(void) -{ - void *data = nfs_root_data(); - - create_dev("/dev/root", ROOT_DEV, NULL); - if (data && - do_mount_root("/dev/root", "nfs", root_mountflags, data) == 0) - return 1; - return 0; -} -#endif - #if defined(CONFIG_BLK_DEV_RAM) || defined(CONFIG_BLK...