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
signature.asc
Description: OpenPGP digital signature