[systemd-devel] [RFC v2] mount: improve DefaultDependencies and use in generator

Lennart Poettering lennart at poettering.net
Tue Sep 10 09:50:19 PDT 2013


On Fri, 23.08.13 15:09, Tom Gundersen (teg at jklm.no) wrote:

> This moves reduces redundancy between systemd core and the fstab-generator, by
> improving and relying on the DefaultDependencies logic.

Commented on two patches. The others look good, please commit those!

> Functional changes:
> 
>  * Mount units will no longer Want network.target, only order themselves
>    After it.
>  * Both monut and swap units will now be WantedBy their backing
> device, unless they have the option "noauto".
>  * Mount units in the real instance representing mounts that are known
>    to be mounted in the initrd (i.e., /usr and anything marked with
>    "x-initrd.mount") will no longer conflict with unmount.target.

(and yeah, the gpt stuff should rely on the built-in logic too, I
totally agree!)

Lennart

-- 
Lennart Poettering - Red Hat, Inc.


More information about the systemd-devel mailing list