* NFS cleaned up, one TODO
@ 2009-06-30 22:31 Warren Togami
[not found] ` <4A4A923E.5020406-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Warren Togami @ 2009-06-30 22:31 UTC (permalink / raw)
To: initramfs
The following are now the valid syntaxes for NFS.
root=[<server-ip>:]<root-dir>[:<nfs-options>]
root=nfs:[<server-ip>:]<root-dir>[:<nfs-options>]
root=nfs4:[<server-ip>:]<root-dir>[:<nfs-options>]
root=dhcp
root-path=<server-ip>:<root-dir>[,<nfs-options>]
root-path=nfs:<server-ip>:<root-dir>[,<nfs-options>]
root-path=nfs4:<server-ip>:<root-dir>[,<nfs-options>]
root=/dev/nfs [nfsroot=...]
TODO:
I managed to fix the root=/dev/nfs case that specifies nfsroot=, but I
don't understand why it doesn't work if you lack nfsroot=. Two NFS
tests are commenteed out until that is fixed. Any ideas?
Warren Togami
wtogami-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org
--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 2+ messages in thread[parent not found: <4A4A923E.5020406-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>]
* Re: NFS cleaned up, one TODO [not found] ` <4A4A923E.5020406-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> @ 2009-07-01 16:04 ` Seewer Philippe 0 siblings, 0 replies; 2+ messages in thread From: Seewer Philippe @ 2009-07-01 16:04 UTC (permalink / raw) To: Warren Togami; +Cc: initramfs Warren Togami wrote: > The following are now the valid syntaxes for NFS. > > root=[<server-ip>:]<root-dir>[:<nfs-options>] > root=nfs:[<server-ip>:]<root-dir>[:<nfs-options>] > root=nfs4:[<server-ip>:]<root-dir>[:<nfs-options>] > root=dhcp > root-path=<server-ip>:<root-dir>[,<nfs-options>] > root-path=nfs:<server-ip>:<root-dir>[,<nfs-options>] > root-path=nfs4:<server-ip>:<root-dir>[,<nfs-options>] > root=/dev/nfs [nfsroot=...] > > TODO: > I managed to fix the root=/dev/nfs case that specifies nfsroot=, but I > don't understand why it doesn't work if you lack nfsroot=. Two NFS > tests are commenteed out until that is fixed. Any ideas? The Problem is here: # LEGACY convert root=<server-ip>:/<path case "$netroot" in [0-9]*:/*|[0-9]*\.[0-9]*\.[0-9]*[!:]|/*) netroot=nfs:$netroot;; esac After this part netroot looks like "netroot=nfs:/dev/nfs" if root=/dev/nfs. This is later interpreted as path. Patch below fixes this. diff --git a/modules.d/95nfs/parse-nfsroot.sh b/modules.d/95nfs/parse-nfsroot.sh index f05fb2a..9e41335 100755 --- a/modules.d/95nfs/parse-nfsroot.sh +++ b/modules.d/95nfs/parse-nfsroot.sh @@ -95,6 +95,7 @@ fi # LEGACY convert root=<server-ip>:/<path case "$netroot" in + /dev/nfs) netroot=nfs;; [0-9]*:/*|[0-9]*\.[0-9]*\.[0-9]*[!:]|/*) netroot=nfs:$netroot;; esac diff --git a/test/TEST-20-NFS/test.sh b/test/TEST-20-NFS/test.sh /dev/nfs)netroot=nfs;; > > Warren Togami > wtogami-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org > > -- > To unsubscribe from this list: send the line "unsubscribe initramfs" in > the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org > More majordomo info at http://vger.kernel.org/majordomo-info.html -- To unsubscribe from this list: send the line "unsubscribe initramfs" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-07-01 16:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-30 22:31 NFS cleaned up, one TODO Warren Togami
[not found] ` <4A4A923E.5020406-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2009-07-01 16:04 ` Seewer Philippe
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.