mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-05 16:00:05 +01:00
This is based mainly on Grammarly. It unifies man pages to at least some level of grammar, so later we can focus on adding more readable content.
31 lines
1003 B
Plaintext
31 lines
1003 B
Plaintext
= cryptsetup-erase(8)
|
|
:doctype: manpage
|
|
:manmanual: Maintenance Commands
|
|
:mansource: cryptsetup {release-version}
|
|
:man-linkstyle: pass:[blue R < >]
|
|
:COMMON_OPTIONS:
|
|
:ACTION_ERASE:
|
|
|
|
== Name
|
|
|
|
cryptsetup-erase, cryptsetup-luksErase - erase all keyslots
|
|
|
|
== SYNOPSIS
|
|
|
|
*cryptsetup _erase_ [<options>] <device>* +
|
|
*cryptsetup _luksErase_ [<options>] <device>*
|
|
|
|
== DESCRIPTION
|
|
|
|
Erase all keyslots and make the LUKS container permanently inaccessible.
|
|
Unless the device is configured with HW OPAL support, you do not need to provide any password for this operation.
|
|
|
|
*WARNING:* This operation is irreversible.
|
|
|
|
*WARNING:* with --hw-opal-factory-reset ALL data is lost on the device, regardless of the partition it is run on, if any, and regardless of any LUKS2 header backup, and does not require a valid LUKS2 header to be present on the device to run.
|
|
|
|
*<options>* can be [--header, --disable-locks, --hw-opal-factory-reset, --key-file].
|
|
|
|
include::man/common_options.adoc[]
|
|
include::man/common_footer.adoc[]
|