Various bits to improve read-only-rootfs handling