[systemd-devel] [PATCH 6/7] mount: filesystems mounted in the initrd should not conflict with umount.target in the real root

Colin Walters walters at verbum.org
Wed Sep 11 07:46:04 PDT 2013


On Wed, 2013-09-11 at 16:31 +0200, Lennart Poettering wrote:

> Well, everything that this list would declare is that /, /etc, /usr (and
> maybe very few others) are the bits that systemd requires to be
> mounted when the host's systemd is first invoked. Where it is mounted
> from, and in which order would be up to the distros, but I'd really
> would like to make it clear that these three dirs *must* be valid when
> the host systemd initializes.

That makes total sense!  But my concern is more about *unmounting*.  So
let's say that an initramfs uses some special filesystem for /etc that
causes it be a mountpoint; for example, it's backed by a special NVRAM
device.

I think systemd should just assume that the initramfs will take care of
unmounting it, and not attempt to unmount it "gracefully" by default,
i.e. save it until the final kill spree.  And more generally for all
filesystems that were mounted by the initramfs.




More information about the systemd-devel mailing list