---
name: "nvme_cmd_format_ses"
section: "2"
platform: "linux"
package: "libnvme-dev"
version: "1.13-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/nvme_cmd_format_ses"
---

# nvme\_cmd\_format\_ses(2)

Format NVM - Secure Erase Settings

## NAME

enum nvme\_cmd\_format\_ses - Format NVM - Secure Erase Settings

## SYNOPSIS

enum nvme\_cmd\_format\_ses {\
     **NVME\_FORMAT\_SES\_NONE** , \
\
     **NVME\_FORMAT\_SES\_USER\_DATA\_ERASE** , \
\
     **NVME\_FORMAT\_SES\_CRYPTO\_ERASE**

};

## Constants

- NVME\_FORMAT\_SES\_NONE

  No secure erase operation requested.

- NVME\_FORMAT\_SES\_USER\_DATA\_ERASE

  User Data Erase: All user data shall be erased, contents of the user data after the erase is indeterminate (e.g. the user data may be zero filled, one filled, etc.). If a User Data Erase is requested and all affected user data is encrypted, then the controller is allowed to use a cryptographic erase to perform the requested User Data Erase.

- NVME\_FORMAT\_SES\_CRYPTO\_ERASE

  Cryptographic Erase: All user data shall be erased cryptographically. This is accomplished by deleting the encryption key.
