]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
--bind-device does not take a bool
authorOliver Harley <oliver.r.harley+github@gmail.com>
Sun, 26 May 2019 05:31:29 +0000 (07:31 +0200)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 26 May 2019 07:00:17 +0000 (16:00 +0900)
See https://github.com/systemd/systemd/blob/e95be7def26c6c5feaf08a4135aa4f50c53263a8/src/mount/mount-tool.c#L164
Also makes the man page consistent with the `--help` option

man/systemd-mount.xml

index e557ee80a177f71decc96699e13cae623fd284b0..4a7c33f5584244261e9de09cc7f9fe25ab09849e 100644 (file)
       </varlistentry>
 
       <varlistentry>
-        <term><option>--bind-device=</option></term>
+        <term><option>--bind-device</option></term>
 
-        <listitem><para>Takes a boolean argument, defaults to off. This option only has an effect in automount mode,
-        and controls whether the automount unit shall be bound to the backing device's lifetime. If enabled, the
-        automount point will be removed automatically when the backing device vanishes. If disabled the automount point
+        <listitem><para>This option only has an effect in automount mode,
+        and controls whether the automount unit shall be bound to the backing device's lifetime. If set, the
+        automount point will be removed automatically when the backing device vanishes. By default the automount point
         stays around, and subsequent accesses will block until backing device is replugged. This option has no effect
         in case of non-device mounts, such as network or virtual file system mounts.</para>