On 2015-07-06 T 12:15 +0200 Jan Engelhardt wrote:
Well, probably so. But at the same time, it would help if btrfs had a "pivot_root"-ish interface to swap the root subvolume with another, so as to facilitate quick snapshot deletion of the root volume. :)
While this sounds useful, I doubt that it is practically possible. Example: I am running Kernel 3.12.43-52.6-default, and I have a root filesystem with these four kernels installed: # ls -1d /lib/modules/* /lib/modules/3.12.28-4-default /lib/modules/3.12.38-44-default /lib/modules/3.12.39-47-default /lib/modules/3.12.43-52.6-default Now, my snapshot 707 has these kernels installed: # ls -1d /.snapshots/707/snapshot/lib/modules/* /.snapshots/707/snapshot/lib/modules/3.12.28-4-default /.snapshots/707/snapshot/lib/modules/3.12.36-38-default /.snapshots/707/snapshot/lib/modules/3.12.38-44-default /.snapshots/707/snapshot/lib/modules/3.12.39-47-default Doing a pivot_root-ish rollback to 707 via "snapper pivot-rollback 707" would lead to a broken system, as modules would not be found anymore -- beyond other potential issues, which I have not considered yet. In other words: to be effective, a rollback of the root filesystem must be finalized with a reboot. That said, for the future we might think about "forward" rolling without a reboot. That could work without a reboot, if there is an entity which controls the environment and the actions (e.g. the ZYpp stack). What do you think? So long - MgE -- Matthias G. Eckermann - Senior Product Manager SUSE® Linux Enterprise SUSE Linux GmbH, 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