]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
man/repart.d: mention each field of MountPoint= needs to be quoted when contains...
authorYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 3 Sep 2025 16:42:48 +0000 (01:42 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 3 Sep 2025 16:46:11 +0000 (01:46 +0900)
Closes #38749.

man/repart.d.xml

index 8be41db0ecd048ba2951825d0b9d4ebde52f6fe1..87d04d0e93125bcd30d0b9f938785febcbc110a3 100644 (file)
         partition should be mounted. The second field specifies extra mount options to append to the default
         mount options. These fields correspond to the second and fourth column of the
         <citerefentry project='man-pages'><refentrytitle>fstab</refentrytitle><manvolnum>5</manvolnum></citerefentry>
-        format. This setting may be specified multiple times to mount the partition multiple times. This can
-        be used to add mounts for different
+        format. As a colon is used for separating fields, each field needs to be quoted when it contains
+        colons. E.g. <programlisting>MountPoint="/path/with:colon":"zstd:1,noatime,lazytime"</programlisting>
+        This setting may be specified multiple times to mount the partition multiple times. This can be used
+        to add mounts for different
         <citerefentry project="url"><refentrytitle url="https://btrfs.readthedocs.io/en/latest/btrfs.html">btrfs</refentrytitle><manvolnum>8</manvolnum></citerefentry>
         subvolumes located on the same btrfs partition.</para>