On Mo, 13.01.20 12:03, Ulrich Windl ([email protected]) wrote:

> > I see that a mount unit with `Options=bind` set creates the resource
> > to be mounted, specified by `What`, in addition to the mount point,
> > specified by `Where`, when they don't exist.
>
> Personally I think a mount operation should not create any missing directory,
> because a missing directory indicates some type of configuration problem that
> should be solved by hand.

We want to support cases where / is a tmpfs with only /usr mounted in
from an OS image and where everything else is initialized and put
together on boot.

Similar, we want to support systems where / is reset via a "factory
reset" concept (and thus empty), then combined with /usr and comes up
properly initialized, with all mount points for /proc, /tmp, /sys and
so on created.

Lennart

--
Lennart Poettering, Berlin
_______________________________________________
systemd-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to