From mboxrd@z Thu Jan 1 00:00:00 1970 From: Warren Togami Subject: Old style :/ not handled Date: Tue, 23 Jun 2009 13:23:51 -0400 Message-ID: <4A410FA7.8000509@redhat.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: Sender: initramfs-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: "" > # 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. 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