Re: Antw: systemd.mount creating mount resource (What) for bind mounts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mo, 13.01.20 12:03, Ulrich Windl (Ulrich.Windl@xxxxxxxxxxxxxxxxxxxx) 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
systemd-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/systemd-devel



[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux