From mboxrd@z Thu Jan 1 00:00:00 1970 From: Seewer Philippe Subject: Re: Old style :/ not handled Date: Wed, 24 Jun 2009 08:51:26 +0200 Message-ID: <4A41CCEE.9050705@bfh.ch> References: <4A410FA7.8000509@redhat.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4A410FA7.8000509-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> Sender: initramfs-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: Warren Togami Cc: "" 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 :/> 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=:/ is > not actually handled. The current code only handles netroot=. This works for cmdline or if 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