X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=man%2Fsystemd.automount.xml;h=34105126cd66ce72f3265fd379b2d86fcbf0caac;hb=a9a305332b7faf0d0d16db04909badaf6a095fef;hp=a09839a68d485ddcc7d9115355331f4dfb802bc6;hpb=65232ea79d8f6b1288c33852f89b575a9200162d;p=elogind.git
diff --git a/man/systemd.automount.xml b/man/systemd.automount.xml
index a09839a68..34105126c 100644
--- a/man/systemd.automount.xml
+++ b/man/systemd.automount.xml
@@ -9,16 +9,16 @@
Copyright 2010 Lennart Poettering
systemd is free software; you can redistribute it and/or modify it
- under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
+ under the terms of the GNU Lesser General Public License as published by
+ the Free Software Foundation; either version 2.1 of the License, or
(at your option) any later version.
systemd is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- General Public License for more details.
+ Lesser General Public License for more details.
- You should have received a copy of the GNU General Public License
+ You should have received a copy of the GNU Lesser General Public License
along with systemd; If not, see .
-->
@@ -44,18 +44,18 @@
systemd.automount
- systemd automount configuration files
+ Automount unit configuration
- systemd.automount
+ automount.automount
Description
A unit configuration file whose name ends in
- .automount encodes information
+ .automount encodes information
about a file system automount point controlled and
supervised by systemd.
@@ -68,10 +68,10 @@
automount specific configuration options are configured
in the [Automount] section.
- Automount units must be named after the file
- paths they reflect. Example: the automount point
- /home/lennart must be configured
- in a unit file
+ 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
@@ -92,6 +92,9 @@
on-demand mounting as well as parallelized mounting of
file systems.
+ If an automount point is beneath another mount
+ point in the file system hierarchy, a dependency
+ between both units is created automatically.
@@ -107,7 +110,7 @@
systemd.mount5.
If an automount point is configured in both
- /etc/fstab and a unit file the
+ /etc/fstab and a unit file, the
configuration in the latter takes precedence.
@@ -120,28 +123,30 @@
specific to the [Automount] section of automount units
are the following:
-
+
Where=
Takes an absolute path
of a directory of the automount
- point. If the automount point is not
- existing at time of the automount
- point is installed it is created. This
+ point. If the automount point does not
+ exist at time that the automount
+ point is installed, it is created. This
string must be reflected in the unit
- file name. (See above.) This option is
+ filename. (See above.) This option is
mandatory.
DirectoryMode=
- Directories of automount
- points (and any parent directories)
- are automatically created if
- needed. This option specifies the file
- system access mode used when creating
- these directories. Defaults to
+ Directories of
+ automount points (and any parent
+ directories) are automatically created
+ if needed. This option specifies the
+ file system access mode used when
+ creating these directories. Takes an
+ access mode in octal
+ notation. Defaults to
0755.
@@ -150,12 +155,13 @@
See Also
- systemd8,
+ systemd1,
systemctl8,
systemd.unit5,
systemd.mount5,
mount8,
- automount8
+ automount8,
+ systemd.directives7