* Old style <server-ip>:/<path> not handled
@ 2009-06-23 17:23 Warren Togami
[not found] ` <4A410FA7.8000509-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Warren Togami @ 2009-06-23 17:23 UTC (permalink / raw)
To: <initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
> # This script is sourced, so root should be set. But let's be paranoid
> [ -z "$root" ] && root=$(getarg root=)
> [ -z "$netroot" ] && netroot=$(getarg netroot=)
> [ -z "$nfsroot" ] && nfsroot=$(getarg nfsroot=)
>
> # Handle old style <server-ip>:/<path
> case "$netroot" in
> [0-9]*:/*|[0-9]*\.[0-9]*\.[0-9]*[!:]|/*)
> netroot=nfs:$netroot;;
> esac
By the current code it seems the old style root=<server-ip>:/<path> is
not actually handled.
I'm soon pushing a patch that restricts NFS to only root= which should
fix this and eliminate the redundant root= and netroot= test cases.
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: <4A410FA7.8000509-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>]
* Re: Old style <server-ip>:/<path> not handled [not found] ` <4A410FA7.8000509-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> @ 2009-06-24 6:51 ` Seewer Philippe 0 siblings, 0 replies; 2+ messages in thread From: Seewer Philippe @ 2009-06-24 6:51 UTC (permalink / raw) To: Warren Togami; +Cc: <initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org> Warren Togami wrote: >> # This script is sourced, so root should be set. But let's be paranoid >> [ -z "$root" ] && root=$(getarg root=) >> [ -z "$netroot" ] && netroot=$(getarg netroot=) >> [ -z "$nfsroot" ] && nfsroot=$(getarg nfsroot=) >> >> # Handle old style <server-ip>:/<path >> case "$netroot" in >> [0-9]*:/*|[0-9]*\.[0-9]*\.[0-9]*[!:]|/*) >> netroot=nfs:$netroot;; >> esac > > By the current code it seems the old style root=<server-ip>:/<path> is > not actually handled. The current code only handles netroot=<oldstyle>. This works for cmdline or if <oldstyle> is delivered by dhcp root-path. I think that was haralds intention anyway. > I'm soon pushing a patch that restricts NFS to only root= which should > fix this and eliminate the redundant root= and netroot= test cases. > > 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 [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-06-24 6:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-23 17:23 Old style <server-ip>:/<path> not handled Warren Togami
[not found] ` <4A410FA7.8000509-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2009-06-24 6:51 ` Seewer Philippe
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox