]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
man: document systemctl list-automounts
authorDavid Tardon <dtardon@redhat.com>
Fri, 15 Jul 2022 14:07:31 +0000 (16:07 +0200)
committerDavid Tardon <dtardon@redhat.com>
Mon, 25 Jul 2022 11:37:20 +0000 (13:37 +0200)
man/systemctl.xml

index 42dd667aa9a59e152eacf33e62a07cdc2e93d607..483db5179c9852edf1db6ec4fe03f25e4ed1ae87 100644 (file)
@@ -108,6 +108,25 @@ To show all installed unit files use 'systemctl list-unit-files'.</programlistin
           </listitem>
         </varlistentry>
 
+        <varlistentry>
+          <term><command>list-automounts</command> <optional><replaceable>PATTERN</replaceable>…</optional></term>
+
+          <listitem>
+            <para>List automount units currently in memory, ordered by mount path.  If one or more
+            <replaceable>PATTERN</replaceable>s are specified, only automount units matching one of them are shown.
+            Produces output similar to
+            <programlisting>
+WHAT        WHERE                    MOUNTED IDLE TIMEOUT UNIT
+/dev/sdb1   /mnt/test                no      120s         mnt-test.automount
+binfmt_misc /proc/sys/fs/binfmt_misc yes     0            proc-sys-fs-binfmt_misc.automount
+
+2 automounts listed.</programlisting>
+            </para>
+
+            <para>Also see <option>--show-types</option>, <option>--all</option>, and <option>--state=</option>.</para>
+          </listitem>
+        </varlistentry>
+
         <varlistentry>
           <term><command>list-sockets</command> <optional><replaceable>PATTERN</replaceable>…</optional></term>