From mboxrd@z Thu Jan 1 00:00:00 1970 From: Seewer Philippe Subject: Re: [RFT PATCH] Delay netroot mounting by 1 second Date: Wed, 24 Jun 2009 08:56:32 +0200 Message-ID: <4A41CE20.5000809@bfh.ch> References: <4A3B968C.5070600@bfh.ch> <20090619144705.GD2514@nostromo.devel.redhat.com> <4A3BA5EA.3020202@bfh.ch> <84DF1DC6-5F06-4D6D-91A4-56D996D229B1@gmail.com> <1245428342.32104.3.camel@lap75545.ornl.gov> <4A3F37B8.7050902@suse.de> <1245683450.3544.6.camel@obelisk.thedillows.org> <4A3FAE9E.5000201@bfh.ch> <1245691069.3875.11.camel@lap75545.ornl.gov> <4A3FD1C5.30006@bfh.ch> <1245704521.3875.31.camel@lap75545.ornl.gov> <4A4084D3.3060705@bfh.ch> <1245773764.11486.21.camel@lap75545.ornl.gov> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1245773764.11486.21.camel-FqX9LgGZnHWDB2HL1qBt2PIbXMQ5te18@public.gmane.org> Sender: initramfs-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: David Dillow Cc: Hannes Reinecke , Victor Lowther , Bill Nottingham , "" David Dillow wrote: [snip] > I've been thinking about this a bit, and I'd like to split the duties up > a bit, as I'd like to know the server IPs needed for other reasons. My > proposed split is that legacy handling -- ie nfsroot=blah to > netroot=nfs:blah conversion -- is done as it is now, and have the root > handler do syntax validation and stop, spit out the server IP(s), and do > the mount, depending on options handed to it (--validate, --servers, and > no options, respectively). Hmmm... just so that I understand you correctly. Are you proposing to move the cmdline-parsers back into the root handlers and add arguments? If not maybe you could a more detailed example of your idea? > The sourced scripts could just call into their handler to do the final > validation, and netroot would get rid of its loop as it can call the > handler directly since it has the protocol field. Uhhh... which loop are you talking about? > The only issue is handling the legacy NFS root-path options, everything > else is expected to have nfs:/nfs4:/nbd:/iscsi: or what not. I don't > think it would be the end of the world if the that handling lived in > netroot itself, as it will be the only root-path legacy handler we have. If possible, netroot should remain as generic as possible. You never know what the future holds. -- 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