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

Sunil Mohan Adapa sunil at medhas.org
Tue Jan 12 05:31:22 UTC 2016


On Tuesday 12 January 2016 01:04 AM, Petter Reinholdtsen wrote:
> [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.

I misunderstood.

Mount arguments take precedence over default subvolume.  So, manual
overriding using method 2) should still be possible.

-- 
Sunil

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/vmdebootstrap-devel/attachments/20160112/880831e9/attachment.sig>


More information about the Vmdebootstrap-devel mailing list