summaryrefslogtreecommitdiff
path: root/man/org.freedesktop.portable1.xml
diff options
context:
space:
mode:
authorLuca Boccassi <bluca@debian.org>2022-10-11 18:53:59 +0100
committerLuca Boccassi <bluca@debian.org>2022-10-12 09:57:24 +0100
commitaad813bf170c7d901fcf1b664303e0204642ac61 (patch)
tree9bfb690b4e9c8dc43ccf957397785fc1248d2da3 /man/org.freedesktop.portable1.xml
parent192a9b70c2bee93666da1b1bbbf529d511180961 (diff)
downloadsystemd-aad813bf170c7d901fcf1b664303e0204642ac61.tar.gz
portable: rename flag PORTABLE_FORCE -> PORTABLE_FORCE_ATTACH
The name is used only internally, also it was just added. Allows adding different types of force flags.
Diffstat (limited to 'man/org.freedesktop.portable1.xml')
-rw-r--r--man/org.freedesktop.portable1.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/man/org.freedesktop.portable1.xml b/man/org.freedesktop.portable1.xml
index 0e926fe850..0f68537233 100644
--- a/man/org.freedesktop.portable1.xml
+++ b/man/org.freedesktop.portable1.xml
@@ -307,13 +307,13 @@ node /org/freedesktop/portable1 {
<para>The <function>AttachImageWithExtensions()</function>,
<function>DetachImageWithExtensions()</function> and
<function>ReattachImageWithExtensions()</function> methods take in options as flags instead of
- booleans to allow for extendability. <varname>SD_SYSTEMD_PORTABLE_FORCE</varname> will cause
+ booleans to allow for extendability. <varname>SD_SYSTEMD_PORTABLE_FORCE_ATTACH</varname> will cause
safety checks that ensure the units are not running while the new image is attached or detached
to be skipped. They are defined as follows:</para>
<programlisting>
-#define SD_SYSTEMD_PORTABLE_RUNTIME (UINT64_C(1) &lt;&lt; 0)
-#define SD_SYSTEMD_PORTABLE_FORCE (UINT64_C(1) &lt;&lt; 1)
+#define SD_SYSTEMD_PORTABLE_RUNTIME (UINT64_C(1) &lt;&lt; 0)
+#define SD_SYSTEMD_PORTABLE_FORCE_ATTACH (UINT64_C(1) &lt;&lt; 1)
</programlisting>
</refsect2>