1
0
mirror of https://github.com/systemd/systemd.git synced 2025-01-03 05:18:09 +03:00

man: clarify description of Attach/Detach flags

This commit is contained in:
Luca Boccassi 2024-01-19 14:46:25 +00:00 committed by Luca Boccassi
parent fe0c684b34
commit c03a321ef6

View File

@ -310,11 +310,11 @@ node /org/freedesktop/portable1 {
<para>The <function>AttachImageWithExtensions()</function>, <para>The <function>AttachImageWithExtensions()</function>,
<function>DetachImageWithExtensions()</function> and <function>DetachImageWithExtensions()</function> and
<function>ReattachImageWithExtensions()</function> methods take in options as flags instead of <function>ReattachImageWithExtensions()</function> methods take in options as flags instead of
booleans to allow for extendability. <varname>SD_SYSTEMD_PORTABLE_FORCE_ATTACH</varname> will cause booleans to allow for extendability. <varname>SD_SYSTEMD_PORTABLE_FORCE_ATTACH</varname> will bypass
safety checks that ensure the units are not running while the new image is attached or detached the safety checks that ensure the units are not running while the image is attached or detached.
to be skipped. <varname>SD_SYSTEMD_PORTABLE_FORCE_EXTENSION</varname> will cause the check that the <varname>SD_SYSTEMD_PORTABLE_FORCE_EXTENSION</varname> will bypass the check that ensures the
<filename>extension-release.<replaceable>NAME</replaceable></filename> file in the extension image <filename>extension-release.<replaceable>NAME</replaceable></filename> file in the extension image
matches the image name to be skipped. They are defined as follows:</para> matches the image name. They are defined as follows:</para>
<programlisting> <programlisting>
#define SD_SYSTEMD_PORTABLE_RUNTIME (UINT64_C(1) &lt;&lt; 0) #define SD_SYSTEMD_PORTABLE_RUNTIME (UINT64_C(1) &lt;&lt; 0)