Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Mg2Ps-00032x-Tg for mharc-grub-devel@gnu.org; Tue, 25 Aug 2009 16:14:52 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mg2Pr-00032E-IS for grub-devel@gnu.org; Tue, 25 Aug 2009 16:14:51 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mg2Pn-00030z-P6 for grub-devel@gnu.org; Tue, 25 Aug 2009 16:14:51 -0400 Received: from [199.232.76.173] (port=41369 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mg2Pn-00030n-AR for grub-devel@gnu.org; Tue, 25 Aug 2009 16:14:47 -0400 Received: from mail-bw0-f222.google.com ([209.85.218.222]:54757) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Mg2Pm-0008FF-Sv for grub-devel@gnu.org; Tue, 25 Aug 2009 16:14:47 -0400 Received: by bwz22 with SMTP id 22so2778051bwz.42 for ; Tue, 25 Aug 2009 13:14:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=SjTQhInEIQXi7Isdur0eG25vxLkxbjcvRgjhNoBHHvc=; b=Fni1ICNxCdNQQY08+iUmyra01NbbS5Nk6+QGqLq54mvh2IIgjDSRkyfC4XUSRqxLaj 6Z+PFXsMta/0gssYxKFkchR1errHf46z6kUepAhbrUb4wmzVGNmiPN3hSOzl1uKIse+u TL4NDMq9cR7gaiE9sRl3EURafAwnkYnQMrSJs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=EtOKzEul2/Dn1CsND2L5U0CoMMS5Io56MSkhxSsOUigcTbDMW23qpD0q62suOUkGja Ti0GbvVSODQTqEWxFWRZrHPhdgSIY4UsUYUnbRQDGC17L7pbaIufPs9OP2Sv+uCd8DfR /ShR6qcVCvmY0ATcaK34J3il/MfEeXCcWZhxk= MIME-Version: 1.0 Received: by 10.204.151.207 with SMTP id d15mr1453981bkw.137.1251231285753; Tue, 25 Aug 2009 13:14:45 -0700 (PDT) In-Reply-To: References: <20090802222505.GI15139@thorin> <20090804201512.GA15811@thorin> <20090817140657.GP32551@thorin> Date: Tue, 25 Aug 2009 22:14:45 +0200 Message-ID: From: "Vladimir 'phcoder' Serbinenko" To: The development of GRUB 2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: [PATCH] nested partitions X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Aug 2009 20:14:51 -0000 On Robert's request I write about the usage cases I'm aware. It's by no means complete 1) bsdlabel on PC-style. By most *BSD flavours 2) sunpc on PC-style. By Solaris 3) Some kind on PC-style on PC-style by Minix. (not sure about this one -it was a long time ago) I vaguely heard of (I may be completely wrong): 4) amiga on PC-style by AROS 5) sun on apple. Polaris (?) On Mon, Aug 24, 2009 at 3:39 PM, Vladimir 'phcoder' Serbinenko wrote: > Rediff > > On Mon, Aug 24, 2009 at 12:57 AM, Vladimir 'phcoder' > Serbinenko wrote: >> Rediff >> On Mon, Aug 17, 2009 at 4:34 PM, Vladimir 'phcoder' >> Serbinenko wrote: >>> On Mon, Aug 17, 2009 at 4:06 PM, Robert Millan wrote: >>>> On Mon, Aug 17, 2009 at 03:00:52PM +0200, Vladimir 'phcoder' Serbinenk= o wrote: >>>>> Rediff and few fixes >>>> >>>> Please note that after what we discussed on IRC, we need to find a sol= ution >>>> that wouldn't make boot time increase linearly with the number of file= systems >>>> or partmaps GRUB supports. >>>> >>> It probe time scales linearly no matter what we do. Fortunately with >>> disk cache few first sectors are read and checked for different >>> signatures which is fast. As for module autoload with search patch it >>> doesn't happen except in the failure to access requested device. >>>> I really think supporting every sort of combination is too extreme. = =A0For >>>> example who would want an msdos/msdos chain? =A0OpenSolaris creates on= e, but >>>> it's a false positive. >>>> >>> minix does it and it's not a false positive. >>>> The overall idea *is* nice. =A0Some combinations (e.g. msdos/bsd) are = cleaner >>>> this way, but supporting everything doesn't scale well. >>> AFAIK no partmap goes beyond first 16K for signature checking. Time >>> for signature checking can be neglected and 16K would be read for >>> filesystem probe too. Additionally e.g. (hd0,1) is probed for >>> subpartitions only if (hd0,1,X) is requested or we're scanning through >>> partitions. In last case we're likely to fsprobe partition anyway so >>> it doesn't create any overhead >>>> >>>> Perhaps we can explicitly list which combinations make sense? =A0So wh= en an >>>> msdos label is found, its partitions are probed for bsd labels too, bu= t not >>>> for msdos labels again, etc. >>>> >>>> -- >>>> Robert Millan >>>> >>>> =A0The DRM opt-in fallacy: "Your data belongs to us. We will decide wh= en (and >>>> =A0how) you may access your data; but nobody's threatening your freedo= m: we >>>> =A0still allow you to remove your data and not access it at all." >>>> >>>> >>>> _______________________________________________ >>>> Grub-devel mailing list >>>> Grub-devel@gnu.org >>>> http://lists.gnu.org/mailman/listinfo/grub-devel >>>> >>> >>> >>> >>> -- >>> Regards >>> Vladimir 'phcoder' Serbinenko >>> >>> Personal git repository: http://repo.or.cz/w/grub2/phcoder.git >>> >> >> >> >> -- >> Regards >> Vladimir 'phcoder' Serbinenko >> >> Personal git repository: http://repo.or.cz/w/grub2/phcoder.git >> > > > > -- > Regards > Vladimir 'phcoder' Serbinenko > > Personal git repository: http://repo.or.cz/w/grub2/phcoder.git > --=20 Regards Vladimir 'phcoder' Serbinenko Personal git repository: http://repo.or.cz/w/grub2/phcoder.git