aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOndrej Kozina <okozina@redhat.com>2024-03-25 13:38:48 +0100
committerMilan Broz <gmazyland@gmail.com>2024-03-26 12:01:27 +0000
commit3e29dbe6f25015432368103c0b9a60bd53d47d9d (patch)
tree474a97c30542b6cc444d79eeef721d1937ca8512
parenta462dbeb4e61cfe4284b4f01f57898496d6aee25 (diff)
downloadcryptsetup-3e29dbe6f25015432368103c0b9a60bd53d47d9d.tar.gz
Add --hw-opal-factory-reset switch in erase options explicitly.
-rw-r--r--man/common_options.adoc7
1 files changed, 7 insertions, 0 deletions
diff --git a/man/common_options.adoc b/man/common_options.adoc
index 5c113094..4cd83185 100644
--- a/man/common_options.adoc
+++ b/man/common_options.adoc
@@ -332,6 +332,13 @@ Format LUKS2 device with dm-crypt encryption stacked on top HW based encryption
on SED OPAL locking range. This option enables both SW and HW based data encryption.
endif::[]
+ifdef::ACTION_ERASE[]
+*--hw-opal-factory-reset*::
+Erase *ALL* data on the OPAL self-encrypted device, regardless of the partition it is ran on, if any,
+and does not require a valid LUKS2 header to be present on the device to run. After providing
+correct PSID via interactive prompt or via *--key-file* parameter the device is erased.
+endif::[]
+
ifdef::ACTION_LUKSFORMAT[]
*--hw-opal-only*::
Format LUKS2 device with HW based encryption configured on SED OPAL locking range only. LUKS2