On Mon, Jul 6, 2015 at 10:16 AM, Thorsten Kukuk
On Fri, Jul 03, Andrei Borzenkov wrote:
В Fri, 03 Jul 2015 20:05:20 +0200 Achim Gratz
пишет: Andrei Borzenkov writes:
# btrfs subvolume get-default / ID 2337 gen 115112 top level 282 path .snapshots/1974/snapshot
Yes, I never liked it and still believe that is wrong design. ...
I don't understand what you are trying to say.
I think that more clean solution would be to have
/<subvol>/ <root-1> <root-2> ...
This way you can switch between them by just adding rootflags=subvol=root-1, there is no special dedicated "initial root" which makes it easy to go back and forth between them,
Top level subvolume is just to group them in one namespace.
That's exactly what we have today.
Except that system itself is installed in top level subvolume. At least, it was this way last time I tried btrfs install.
Except that the path is: /.snapshots/<id>/snapshot/ and not /subvol/root-<id>
And with grub2 you don't need "rootflags=", grub2 shows you all available "root" you can boot into.
The question is not to boot into it but to revert your top level volume to the same state as one of these snapshots. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org