From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1SMoV1-0007S5-OQ for mharc-grub-devel@gnu.org; Tue, 24 Apr 2012 18:46:19 -0400 Received: from eggs.gnu.org ([208.118.235.92]:42933) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SMoUx-0007PX-9N for grub-devel@gnu.org; Tue, 24 Apr 2012 18:46:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SMoUv-0006Bk-Dd for grub-devel@gnu.org; Tue, 24 Apr 2012 18:46:14 -0400 Received: from mail-wg0-f49.google.com ([74.125.82.49]:43568) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SMoUv-0006BI-4Z for grub-devel@gnu.org; Tue, 24 Apr 2012 18:46:13 -0400 Received: by wgbds1 with SMTP id ds1so169807wgb.30 for ; Tue, 24 Apr 2012 15:46:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type; bh=1IXcFP53prQrFODsZROaKjJxIfih4Qq7pcvMqFEr0g0=; b=qgbusaRGS38CejDNONS//2Dt9AzhqualRVhbvKslJ/E545Gz6rLZ18VP0QPvxhwwpf ODxTN/buDU5sNXyQtVZG//udnUSldp6fXOus7CXZxLlxHY/P5RykV6xXg8/RLDbrp+LV 1ttFsufrcz4uICer52MjFlyDx5LX347eal7clyD1ZDqLy0+dOnNF0odYvxWbKEYrIPHC KoDd9dpq5PO2T9Z4tuH66xHAq3S65Dpvazfu30fHllGh7xL4Lba5Hv/6EwpigwbF6/3u xpDDgE/Vb9aIEFOyilWmKQZCpquKQzoRhLtPXdTsAUk6Gh7wRrjibz9kv8qCIEGs4+3W pKvw== Received: by 10.216.137.30 with SMTP id x30mr171305wei.34.1335307571065; Tue, 24 Apr 2012 15:46:11 -0700 (PDT) Received: from debian.x201.phnet (97-233.197-178.cust.bluewin.ch. [178.197.233.97]) by mx.google.com with ESMTPS id ex2sm51487662wib.8.2012.04.24.15.46.09 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 24 Apr 2012 15:46:09 -0700 (PDT) Message-ID: <4F972D2E.30509@gmail.com> Date: Wed, 25 Apr 2012 00:46:06 +0200 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.3) Gecko/20120329 Icedove/10.0.3 MIME-Version: 1.0 To: The development of GNU GRUB Subject: Re: [PATCH,HURD] Fix grub-probe with userland partition support References: <20120423233423.GC4755@type.famille.thibault.fr> <4F966CAE.3080300@gmail.com> <20120424091915.GD4453@type.bordeaux.inria.fr> <4F967895.3010203@gmail.com> <20120424124220.GS4453@type.bordeaux.inria.fr> <4F96A85D.3040303@gmail.com> <20120424171358.GT4433@type.famille.thibault.fr> <4F9709A9.6090707@gmail.com> <20120424222110.GD29782@type.famille.thibault.fr> <4F9729BE.1060105@gmail.com> <20120424223935.GO29782@type.famille.thibault.fr> In-Reply-To: <20120424223935.GO29782@type.famille.thibault.fr> X-Enigmail-Version: 1.4 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enig96E308AFC3C71BFA58BB406D" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 74.125.82.49 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Apr 2012 22:46:17 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig96E308AFC3C71BFA58BB406D Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 25.04.2012 00:39, Samuel Thibault wrote: > Vladimir '=CF=86-coder/phcoder' Serbinenko, le Wed 25 Apr 2012 00:31:26= +0200, a =C3=A9crit : >> On 25.04.2012 00:21, Samuel Thibault wrote: >>> Vladimir '=CF=86-coder/phcoder' Serbinenko, le Tue 24 Apr 2012 22:14:= 33 +0200, a =C3=A9crit : >>>> On 24.04.2012 19:13, Samuel Thibault wrote: >>>>> Vladimir '=CF=86-coder/phcoder' Serbinenko, le Tue 24 Apr 2012 15:1= 9:25 +0200, a =C3=A9crit : >>>>>> On 24.04.2012 14:42, Samuel Thibault wrote: >>>>>>>> I'm surprised that Hurd doesn't offer a way to just ask "What do= es this >>>>>>>> filesystem translator consume?" >>>>>>> A file can reside inside an iso file, which >>>>>>> is stored in an ext2fs, which is stored in a file, >>>>>> So much GRUB can handle. >>>>> But how to express that to GRUB? grub_guess_root_devices only retur= ns >>>>> a series of alternative paths. See below. >>>> By just giving the file in question. >>> That will not tell you which image has to be mounted to find it. >> As I said: currently we assume that image is for VM use, so nothing >> needs to be specifically mounted. Just return image filename. > That would work with only one layer. See my example above, it has > several layers, and you'd have to know the image filename at each layer= =2E Right now we assume only one layer (VM use), more layers is for the futur= e. > I'm not saying that GRUB should implement all these layers. I'm just > explaining why the "what does this translator consume?" is not a trivia= l > question at all in the Hurd, and thus does not have any interface for > it, and we have to define one that would only work for the trivial > cases. We just need to traverse one layer: the FS, and only the case when it's an FS. --=20 Regards Vladimir '=CF=86-coder/phcoder' Serbinenko --------------enig96E308AFC3C71BFA58BB406D Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iF4EAREKAAYFAk+XLS4ACgkQNak7dOguQgmQXgD/SMzD7uxOzR7sTJyvqZ9TuHjg +R/3gHM5g88Rm9v4cQgA/15W0xo9Z4FOHkdCTrIuLdpgVWDsbJDUHiXrv26/xnoW =zyKA -----END PGP SIGNATURE----- --------------enig96E308AFC3C71BFA58BB406D--