X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=man%2Fsystemd.automount.xml;h=fd65f5da798b1377d2047a3c923e23f074f1c381;hb=cc832f977208a020cdef133b8f44d00040802b81;hp=1b0ae832dac0c167dd569e148039d0a1614f9996;hpb=c665ffa9b16d910fb6660e132f19ffc4e2537590;p=thirdparty%2Fsystemd.git diff --git a/man/systemd.automount.xml b/man/systemd.automount.xml index 1b0ae832dac..fd65f5da798 100644 --- a/man/systemd.automount.xml +++ b/man/systemd.automount.xml @@ -1,39 +1,12 @@ - - - + systemd.automount systemd - - - - Developer - Lennart - Poettering - lennart@poettering.net - - @@ -62,18 +35,17 @@ 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. - - 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.automount. For details about the - escaping logic used to convert a file system path to a unit name - see - systemd.unit5. + 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.automount. For details about the escaping logic used to convert a file system + path to a unit name see + systemd.unit5. Note that + automount units cannot be templated, nor is it possible to add multiple names to an automount unit by creating + additional symlinks to its unit file. For each automount unit file a matching mount unit file (see systemd.mount5 @@ -85,24 +57,47 @@ 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. Automatic Dependencies - If an automount unit is beneath another mount unit in the - file system hierarchy, both a requirement and an ordering - dependency between both units are created automatically. + + Implicit Dependencies + + The following dependencies are implicitly added: + + + If an automount unit is beneath another mount unit in the + file system hierarchy, both a requirement and an ordering + dependency between both units are created automatically. + + An implicit Before= dependency is created + between an automount unit and the mount unit it activates. + + + + + Default Dependencies - An implicit Before= dependency is created - between an automount unit and the mount unit it activates. + The following dependencies are added unless DefaultDependencies=no is set: - Automount units acquire automatic Before= - and Conflicts= on - umount.target in order to be stopped during - shutdown, unless DefaultDependencies=no is - set. + + 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. + +