On Di, 07.01.20 14:50, Anoop Karollil (anoop.karollil@xxxxxxxxx) wrote: > Hello, > > 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. > > Manual page at https://www.freedesktop.org/software/systemd/man/systemd.mount.html > mentions that the mount point will be created if it doesn't exist for > `Where`. But doesn't mention that this applies to `What` too in the > case of bind mounts. I think this is the change that added this > behaviour: https://github.com/systemd/systemd/commit/2b583ce6576d4a074ce6f1570b3e60b65c64ae7d#diff-df9fd757e73e7f659350e8a76994d42f. > I found it a little surprising, especially since the behaviour is > described for `Where` but not for `What`. So maybe its good to mention > that in the systemd.mount man page under `What`? I prepped this now in response: https://github.com/systemd/systemd/pull/14553 PTAL! Thanks for the pointer, Lennart -- Lennart Poettering, Berlin _______________________________________________ systemd-devel mailing list systemd-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/systemd-devel