From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from 8.mo2.mail-out.ovh.net ([188.165.52.147] helo=mo2.mail-out.ovh.net) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1W1XNu-0002y8-JD for barebox@lists.infradead.org; Fri, 10 Jan 2014 08:24:07 +0000 Received: from mail91.ha.ovh.net (b9.ovh.net [213.186.33.59]) by mo2.mail-out.ovh.net (Postfix) with SMTP id 63F5AFFA824 for ; Fri, 10 Jan 2014 09:23:41 +0100 (CET) Date: Fri, 10 Jan 2014 09:24:24 +0100 From: Jean-Christophe PLAGNIOL-VILLARD Message-ID: <20140110082424.GB21626@ns203013.ovh.net> References: <20140108024539.GA13274@san0.fossix.org> <20140108140748.GL6750@pengutronix.de> <20140109072914.GA21626@ns203013.ovh.net> <20140109160641.GA7102@san0.fossix.org> <20140109162933.GC7102@san0.fossix.org> <20140110080251.GT6750@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20140110080251.GT6750@pengutronix.de> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: [PATCH] Make number of GPT partitions a configurable option To: Sascha Hauer Cc: barebox@lists.infradead.org On 09:02 Fri 10 Jan , Sascha Hauer wrote: > On Thu, Jan 09, 2014 at 09:59:33PM +0530, Santosh Sivaraj wrote: > > * Santosh Sivaraj wrote (on 2014-01-09 21:36:41 +0530): > > > > adding list, missed it. > > > > > > > > > > Can we instead allocate the partitions dynamically? This limitation to > > > > > eight partitions we currently have is not nice, but making it > > > > > configurable is not a proper fix. > > > > > > > > agreed but a limit will be good too > > > > > > > > Best Regards, > > > > J. > > > > > > > > > > Sascha > > > > > > > > > > > We could keep a configurable maximum, with a high default, but do the allocation > > > dynamically. I will try to send in a patch, we can discuss how it needs to be > > > done over it. > > It shouldn't be configurable in Kconfig. That's not a question a user > should have to answer when configuring barebox. I high default would be > fine with me though since memory usually is an infinite resource in > barebox. I'm more thiking of a broken EFI GPT that have 1000s of partition do we really need to handle that Best Regards, J. > > Sascha > > -- > Pengutronix e.K. | | > Industrial Linux Solutions | http://www.pengutronix.de/ | > Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | > Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox