From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1VWH7E-00035h-1w for mharc-grub-devel@gnu.org; Tue, 15 Oct 2013 22:45:40 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49174) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VWH76-00034n-Iw for grub-devel@gnu.org; Tue, 15 Oct 2013 22:45:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VWH70-0004dB-Is for grub-devel@gnu.org; Tue, 15 Oct 2013 22:45:32 -0400 Received: from mail-lb0-x22f.google.com ([2a00:1450:4010:c04::22f]:35781) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VWH70-0004bt-AO for grub-devel@gnu.org; Tue, 15 Oct 2013 22:45:26 -0400 Received: by mail-lb0-f175.google.com with SMTP id y6so209353lbh.20 for ; Tue, 15 Oct 2013 19:45:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; bh=RI5YtX/FGTsuoSdfgMkbWAKtaj8/lNGa2QnbsDhVT6w=; b=wVBz5JMnl0aRqTxSJcrs5diqdyghp8wvbvstUkcINDXPqJVsWfR7CuTkA+iOFmOtdd cWcdUNMQQHJf9crydf/csTzxIv7TaYXEpVv4HaUENIWHIX16EsXFUqQQqVQZUyEPzS41 Gw5wdacoZTSmA5qtanPaJ7JHKcicfxXeL0kY8ZRzFQgebcJ0l96Ye2AazhIT1jM6jHcr rlkxLPWQccezMQD2u0t7/wxjIx5rATIUU1xKN1Zk19fI2/z7ZOyC8aUm0apxdPg2WLyL AXDQzoofnUcVdnwXFbVfFRhocLJh1PtmM6VCyqKsX56jLnSn4Z4+L+Km+7YxSjCWHC4N guWQ== X-Received: by 10.112.168.35 with SMTP id zt3mr641053lbb.11.1381891524866; Tue, 15 Oct 2013 19:45:24 -0700 (PDT) Received: from opensuse.site (ppp91-76-150-246.pppoe.mtu-net.ru. [91.76.150.246]) by mx.google.com with ESMTPSA id u18sm49483762lbp.4.1969.12.31.16.00.00 (version=SSLv3 cipher=RC4-SHA bits=128/128); Tue, 15 Oct 2013 19:45:24 -0700 (PDT) Date: Wed, 16 Oct 2013 06:45:22 +0400 From: Andrey Borzenkov To: grub-devel@gnu.org Subject: Re: booting btrfs Message-ID: <20131016064522.46a5e739@opensuse.site> In-Reply-To: <5DE05F7F-50B6-4726-9341-B8532A10FD56@colorremedies.com> 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> <525C4615.5080803@gmail.com> <04468BB2-5F2D-47BA-8CFC-7C5604FBE315@colorremedies.com> <525C5902.3050104@gmail.com> <20131015063327.4f44ced2@opensuse.site> <20131015205844.661393b1@opensuse.site> <5DE05F7F-50B6-4726-9341-B8532A10FD56@colorremedies.com> X-Mailer: Claws Mail 3.9.2 (GTK+ 2.24.18; x86_64-suse-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c04::22f 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: Wed, 16 Oct 2013 02:45:38 -0000 В Tue, 15 Oct 2013 13:47:14 -0600 Chris Murphy пишет: > > > I'm not sure when and how top level may become != 5. > > starting where you left off with the sub2 subvolume mounted > > # btrfs subvol create /mnt/nested > # btrfs subvol list /mnt > ID 262 gen 135 top level 5 path dir1/sub1 > ID 263 gen 140 top level 5 path dir2/sub2 > ID 264 gen 140 top level 263 path nested > Now try to remount with subvolid=0 and you will see that all subvolumes have top level == 5. So it appears to be some run-time property. I do not know why it is exposed (i.e. how user space can or should make use of it). Now "parent" is more interesting because it really tells us parent subvolume and it permanent on-disk property.