Hi,

is there an easy way in initrd mode to keep old root when switching to
new root? Switching root is done in initrd-switch-root.target with
/bin/systemctl --no-block --force switch-root /sysroot

The reason why is I want to use the ramdisk + a persistent overlay. The
 quick and dirty solution for me would be to patch src/shared/switch-
root.c not to delete the old_root but I'd rather keep systemd
unpatched. Thanks.

Regards,
Herbert


_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to