On Fr, 24.11.17 21:03, Olaf Hering (o...@aepfle.de) wrote: > Is there a way to have stacked automounts?
This is not supported right now. When an automount is first set up, all mounts in its prefix paths are mounted first. Hence, while what you configure there is accepted, it doesn't do what you want it to do: it would set up two mounts and two automounts, but after boot you'll find that the upper automount is already triggered, and thus the upper mount already mounted. This is fixable, but so far noone spent the time to do so. > In this example only /d is mounted when /d/l/1/ is accessed: > > LABEL=d /d xfs > noatime,x-systemd.automount,x-systemd.idle-timeout=22 1 2 > /d/i/1.iso /d/l/1 iso9660 > ro,loop,x-systemd.automount,x-systemd.idle-timeout=11 0 0 > > In the logs I see: > Set up automount d-l-1.automount. > Unset automount d-l-1.automount. > > Olaf > _______________________________________________ > systemd-devel mailing list > systemd-devel@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/systemd-devel Lennart -- Lennart Poettering, Red Hat _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel