grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

btrfs subvolumes [was Re: Bugs and tasks for 2.02[~rc1] ]


From: Vladimir 'phcoder' Serbinenko
Subject: btrfs subvolumes [was Re: Bugs and tasks for 2.02[~rc1] ]
Date: Mon, 18 Apr 2016 06:22:10 +0200



On Wednesday, April 13, 2016, Olaf Hering <address@hidden> wrote:
On Fri, Mar 11, Vladimir 'phcoder' Serbinenko wrote:

> On Wednesday, March 9, 2016, Olaf Hering <address@hidden> wrote:
>     On Wed, Mar 02, Vladimir 'phcoder' Serbinenko wrote:
>     > I would like to come up with a complete list of 2.02 blockers in one week
>     > time, so that we can have a reasonable timeline
>     Did anyone took the time to fix btrfs support (convert it from handling
>     btrfs as filesystem into that what it really is: a container of
>     subvolumes)?
> What is the problem with current approach? subvolume is little more than a
> directory from a point of view of read-only implementation 

A root filesystem in a subvolume is kind of a chroot. For example
grub.cfg within that subvolume references /boot/initrd. But upstream
grub can not use such grub.cfg via 'configfile ($root)$subvol/grub.cfg'
because the referenced path '/boot/initrd' does not take the subvolume
path into account.  This breaks at least in pvgrub, and makes testing
upstream grub with SLE12 or Leap impossible.

Why does it break pvgrub? Both grub on BIOS and xen use the same convention 
The changes made by SUSE tweak grub2 enough to take subvolumes into
account. Not sure why these changes are missing upstream.

Olaf

_______________________________________________
Grub-devel mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/grub-devel


--
Regards
Vladimir 'phcoder' Serbinenko


reply via email to

[Prev in Thread] Current Thread [Next in Thread]