]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
man: explicitly say that portable1's Attach/Detach are synchronous 30988/head
authorLuca Boccassi <bluca@debian.org>
Wed, 17 Jan 2024 17:00:35 +0000 (17:00 +0000)
committerLuca Boccassi <bluca@debian.org>
Thu, 18 Jan 2024 17:22:12 +0000 (17:22 +0000)
man/org.freedesktop.portable1.xml

index f3c5597442abcceff23ed8f858cc86be7eeca6e5..e0070d33b6e4faf09e0e7326ee89d2f8fd6be669 100644 (file)
@@ -249,7 +249,8 @@ node /org/freedesktop/portable1 {
         <listitem><para>mkdir</para></listitem>
       </itemizedlist>
       Note that an image cannot be attached if a unit that it contains is already present
-      on the system.</para>
+      on the system. Note that this method returns only after all the listed operations are completed,
+      and due to the I/O involved it might take some time.</para>
 
       <para><function>AttachImageWithExtensions()</function> attaches a portable image to the system.
       This method is a superset of <function>AttachImage()</function> with the addition of
@@ -271,7 +272,9 @@ node /org/freedesktop/portable1 {
       <itemizedlist>
         <listitem><para>unlink</para></listitem>
       </itemizedlist>
-      Note that an image cannot be detached if a unit that it contains is running.</para>
+      Note that an image cannot be detached if a unit that it contains is running. Note that this method
+      returns only after all the listed operations are completed, and due to the I/O involved it might take
+      some time.</para>
 
       <para><function>DetachImageWithExtensions()</function> detaches a portable image from the system.
       This method is a superset of <function>DetachImage()</function> with the addition of