1SYSTEMD.AUTOMOUNT(5)           systemd.automount          SYSTEMD.AUTOMOUNT(5)
2
3
4

NAME

6       systemd.automount - systemd automount configuration files
7

SYNOPSIS

9       systemd.automount
10

DESCRIPTION

12       A unit configuration file whose name ends in .automount encodes
13       information about a file system automount point controlled and
14       supervised by systemd.
15
16       This man page lists the configuration options specific to this unit
17       type. See systemd.unit(5) for the common options of all unit
18       configuration files. The common configuration items are configured in
19       the generic [Unit] and [Install] sections. The automount specific
20       configuration options are configured in the [Automount] section.
21
22       Automount units must be named after the automount directories they
23       control. Example: the automount point /home/lennart must be configured
24       in a unit file home-lennart.automount. For details about the escaping
25       logic used to convert a file system path to a unit name see
26       systemd.unit(5).
27
28       For each automount unit file a matching mount unit file (see
29       systemd.mount(5) for details) must exist which is activated when the
30       automount path is accessed. Example: if an automount unit
31       home-lennart.automount is active and the user accesses /home/lennart
32       the mount unit home-lennart.mount will be activated.
33
34       Automount units may be used to implement on-demand mounting as well as
35       parallelized mounting of file systems.
36
37       If an automount point is beneath another mount point in the file system
38       hierarchy a dependency between both units is created automatically.
39

FSTAB

41       Automount units may either be configured via unit files, or via
42       /etc/fstab (see fstab(5) for details).
43
44       For details how systemd parses /etc/fstab see systemd.mount(5).
45
46       If an automount point is configured in both /etc/fstab and a unit file
47       the configuration in the latter takes precedence.
48

OPTIONS

50       Automount files must include an [Automount] section, which carries
51       information about the file system automount points it supervises. The
52       options specific to the [Automount] section of automount units are the
53       following:
54
55       Where=
56           Takes an absolute path of a directory of the automount point. If
57           the automount point is not existing at time of the automount point
58           is installed it is created. This string must be reflected in the
59           unit file name. (See above.) This option is mandatory.
60
61       DirectoryMode=
62           Directories of automount points (and any parent directories) are
63           automatically created if needed. This option specifies the file
64           system access mode used when creating these directories. Takes an
65           access mode in octal notation. Defaults to 0755.
66

SEE ALSO

68       systemd(1), systemctl(8), systemd.unit(5), systemd.mount(5), mount(8),
69       automount(8)
70

AUTHOR

72       Lennart Poettering <lennart@poettering.net>
73           Developer
74
75
76
77systemd                           09/14/2010              SYSTEMD.AUTOMOUNT(5)
Impressum