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 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. Thorsten -- Thorsten Kukuk, Senior Architect SLES & Common Code Base SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany GF: Felix Imendörffer, Jane Smithard, Dilip Upmanyu, Graham Norton, HRB 21284 (AG Nürnberg) -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org