[Vmdebootstrap-devel] Bug#741223: Simplifying the patch

Petter Reinholdtsen pere at hungry.com
Mon Jan 11 19:34:59 UTC 2016


[Sunil Mohan Adapa]
> With the proposed approach, we will have both the ways to mount and use,
> that is, revert to an older snapshot.
>
> 1) Use 'btrfs set-default' to set the default subvolume and reboot.
>
> 2) Change the arguments to mount in fstab and kernel boot parmeters like
> before using 'subvol=' and 'subvolid='.
>
> Both methods will have the same result of mounting the desired
> subvolume.  The latter appoarch is harder for automated tools to handle.
>  Snapper (possibly most other tools) use the first method.

My point was that the root snapshot changing should be possible to do
from grub, in case the default root is broken.  I suspect that is only
possible with metod 2) mentioned above.

--
Happy hacking
Petter Reinholdtsen



More information about the Vmdebootstrap-devel mailing list