From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1VVnpu-0006m1-Oj for mharc-grub-devel@gnu.org; Mon, 14 Oct 2013 15:29:50 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59098) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VVnpk-0006kr-R6 for grub-devel@gnu.org; Mon, 14 Oct 2013 15:29:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VVnpY-0000Kt-AL for grub-devel@gnu.org; Mon, 14 Oct 2013 15:29:40 -0400 Received: from mail-ee0-x22a.google.com ([2a00:1450:4013:c00::22a]:44581) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VVnpY-0000Kn-2w for grub-devel@gnu.org; Mon, 14 Oct 2013 15:29:28 -0400 Received: by mail-ee0-f42.google.com with SMTP id b45so3625636eek.29 for ; Mon, 14 Oct 2013 12:29:27 -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:content-type; bh=cEzVL4l/U8vDq4kHp2hX8F1MNiB5O1lw5T9JreI4rm4=; b=BszSzDuakq38qNdD6euFJMJfW+9gB1D2Q7j32KxSwbT/OocDZAHXbkkXXbUN8Y3pIo FEKV7xCGgXHMNCSZTGuGj7Rdsle5RgzrDb1SYkrWiO6msUTjXrQ6WtcOCb8vdG672lv4 C5aXJ1Un58EHd7Pug7GG4jbLqkVf8j6iZrMsWp4Am1SMo2C8Ibh2vHv16BgdReTJAoK5 VX53io8nlNYBDkKz7O2Z7/pPk7wqqxRuQ604Wsg1dSqwtZuTUb1Ix+/Nho8nmbOef8kV YYceUGMuWr3T4wS1iYNqk4PWzIGxYYZ4nqNq3MxFkX4kqnP+WI8CR9LszR1s3rtUDIu2 dK9Q== X-Received: by 10.15.44.8 with SMTP id y8mr19132447eev.38.1381778967259; Mon, 14 Oct 2013 12:29:27 -0700 (PDT) Received: from [192.168.1.113] (31-249.1-85.cust.bluewin.ch. [85.1.249.31]) by mx.google.com with ESMTPSA id b45sm156965022eef.4.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 14 Oct 2013 12:29:26 -0700 (PDT) Message-ID: <525C4615.5080803@gmail.com> Date: Mon, 14 Oct 2013 21:29:25 +0200 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131005 Icedove/17.0.9 MIME-Version: 1.0 To: The development of GNU GRUB Subject: Re: booting btrfs References: <0C284942-C2D0-4520-93B1-3982E6AA38DF@colorremedies.com> <525AF8CD.7050100@gmail.com> <525B2D55.8060502@gmail.com> <339EF7EB-F50A-47F6-99BA-F46ABFECCF74@colorremedies.com> <20131014092807.6917958c@opensuse.site> <3D77CF50-285F-42C2-9325-47AC5ACF5FDC@colorremedies.com> In-Reply-To: <3D77CF50-285F-42C2-9325-47AC5ACF5FDC@colorremedies.com> X-Enigmail-Version: 1.5.1 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="----enig2LAKEUCFGKVGVRSEKEEMO" X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4013:c00::22a 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: Mon, 14 Oct 2013 19:29:49 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) ------enig2LAKEUCFGKVGVRSEKEEMO Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable > So it seems that GRUB is using relative pathnames to the default subvol= ume. This is not intentional. When this part of code was written there was no set-default available at all so this couldn't be tested and I simply followed the specification. It told to take root_tree and root_dir_objectid from superblock then go to "default" directory. What of this needs to be changed? Just remove "default" and make it part of path? We would need to change grub-mkrelpath to match runtime behaviour. Is there a way to detect that mountinfo gives garbage and somehow get where the real root points? ------enig2LAKEUCFGKVGVRSEKEEMO 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.15 (GNU/Linux) Comment: Using GnuPG with Icedove - http://www.enigmail.net/ iF4EAREKAAYFAlJcRhUACgkQNak7dOguQglEAgEAtusEsEzYoCbWAkCcUvh8hAq+ g5Tm5UUFW1Zm8IoH6RoA/RnKn5rEU6UzJ9koSjj8LFjdmAuZH8exAVg+6wbI4Mjw =B1My -----END PGP SIGNATURE----- ------enig2LAKEUCFGKVGVRSEKEEMO--