X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=man%2Fsystemd.automount.xml;h=fd65f5da798b1377d2047a3c923e23f074f1c381;hb=cc832f977208a020cdef133b8f44d00040802b81;hp=44add70d2127ab1be8d3e823a79f35aa453cb169;hpb=d28e92c3fc30c44a799b856152fe62697931fae5;p=thirdparty%2Fsystemd.git diff --git a/man/systemd.automount.xml b/man/systemd.automount.xml index 44add70d212..fd65f5da798 100644 --- a/man/systemd.automount.xml +++ b/man/systemd.automount.xml @@ -1,28 +1,12 @@ - - - + systemd.automount systemd - - - - Developer - Lennart - Poettering - lennart@poettering.net - - @@ -51,12 +35,12 @@ this unit type. See systemd.unit5 for the common options of all unit configuration files. The common - configuration items are configured in the generic [Unit] and - [Install] sections. The automount specific configuration options - are configured in the [Automount] section. + configuration items are configured in the generic [Unit] and + [Install] sections. The automount specific configuration options + are configured in the [Automount] section. Automount units must be named after the automount directories they control. Example: the automount point - /home/lennart must be configured in a unit file + /home/lennart must be configured in a unit file home-lennart.automount. For details about the escaping logic used to convert a file system path to a unit name see systemd.unit5. Note that @@ -73,6 +57,12 @@ Automount units may be used to implement on-demand mounting as well as parallelized mounting of file systems. + + Note that automount units are separate from the mount itself, so you + should not set After= or Requires= + for mount dependencies here. For example, you should not set + After=network-online.target or similar on network + filesystems. Doing so may result in an ordering cycle. @@ -102,6 +92,10 @@ Automount units acquire automatic Before= and Conflicts= on umount.target in order to be stopped during shutdown. + + Automount units automatically gain an After= dependency + on local-fs-pre.target, and a Before= dependency on + local-fs.target.