diff options
author | Lennart Poettering <lennart@poettering.net> | 2023-04-12 13:46:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-12 13:46:08 +0200 |
commit | 3af48a86d99b3117a44bc22258ab4d34d0ba7655 (patch) | |
tree | 594af3dadad0f5a0febfb73137689eea7503fe83 /man/systemd-dissect.xml | |
parent | Merge pull request #27165 from poettering/fdstore-envvar (diff) | |
parent | update TODO (diff) | |
download | systemd-3af48a86d99b3117a44bc22258ab4d34d0ba7655.tar.xz systemd-3af48a86d99b3117a44bc22258ab4d34d0ba7655.zip |
Merge pull request #25608 from poettering/dissect-moar
dissect: add dissection policies
Diffstat (limited to 'man/systemd-dissect.xml')
-rw-r--r-- | man/systemd-dissect.xml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/man/systemd-dissect.xml b/man/systemd-dissect.xml index eac50bffde..06ee0717f8 100644 --- a/man/systemd-dissect.xml +++ b/man/systemd-dissect.xml @@ -281,6 +281,20 @@ on.</para></listitem> </varlistentry> + <varlistentry> + <term><option>--validate</option></term> + + <listitem><para>Validates the partition arrangement of a disk image (DDI), and ensures it matches the + image policy specified via <option>--image-policy=</option>, if one is specified. This parses the + partition table and probes the file systems in the image, but does not attempt to mount them (nor to + set up disk encryption/authentication via LUKS/Verity). It does this taking the configured image + dissection policy into account. Since this operation does not mount file systems, this command – + unlike all other commands implemented by this tool – requires no privileges other than the ability to + access the specified file. Prints "OK" and returns zero if the image appears to be in order and + matches the specified image dissection policy. Otherwise prints an error message and returns + non-zero.</para></listitem> + </varlistentry> + <xi:include href="standard-options.xml" xpointer="help" /> <xi:include href="standard-options.xml" xpointer="version" /> </variablelist> @@ -405,6 +419,7 @@ <command>cfdisk /dev/loop/by-ref/quux</command>.</para></listitem> </varlistentry> + <xi:include href="standard-options.xml" xpointer="image-policy-open" /> <xi:include href="standard-options.xml" xpointer="no-pager" /> <xi:include href="standard-options.xml" xpointer="no-legend" /> <xi:include href="standard-options.xml" xpointer="json" /> |