On Fri, Dec 27, 2013 at 4:47 PM, Kay Sievers <[email protected]> wrote:
> On Fri, Dec 27, 2013 at 3:41 PM, Kay Sievers <[email protected]> wrote:
>> Yes, you can mount the root block device to a different place a second
>> time, and should be able to unlink the file and replace it, then
>> umount the file on the real /, and all should be atomic.
>
> Nah, sorry, it probably fails with being busy when it's over-mounted.
> We would need to invent some other way to do this trickery when the
> system is already up and running.

Bind mounts (`mount --bind /etc /mnt`) wouldn't fail, though.

Or bind-mounting the old /etc/machine-id to /run/machine-id.real?

-- 
Mantas Mikulėnas <[email protected]>
_______________________________________________
systemd-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to