[systemd-devel] systemd-fstab-generator and multiple mounts to same mount point

Jan Engelhardt jengelh at inai.de
Sun Jan 6 10:57:08 PST 2013


On Thursday 2013-01-03 20:50, Lennart Poettering wrote:
>
>systemd automatically determines a multitude of dependencies between the
>units. For example if a mount point lies beneath another mount point
>they gain implicit ordering deps.[...]
>
>Now, if you allow multiple separate mount units for the same path this
>all becomes really complicated. Because how do you handle the ordering
>deps for those? How do you handle the ordering deps *between* the two?
>Sure you can say "whatever comes first in fstab is mounted first", but
>that only gets you so far, as fstab is just one way to configure mount
>units, and they can come from other sources too.

/proc/self/mountinfo should have all the vfsmounts that are interdependent
ordered.


More information about the systemd-devel mailing list