libnvme\_sed\_revert\_psid(9) libnvme API manual libnvme\_sed\_revert\_psid(9)

# [NAME](#NAME)

libnvme\_sed\_revert\_psid - Revert the TPer using the PSID

# [SYNOPSIS](#SYNOPSIS)

**int libnvme\_sed\_revert\_psid** **(struct libnvme\_transport\_handle \*hdl ,** **const struct libnvme\_sed\_key \*psid );**

# [ARGUMENTS](#ARGUMENTS)

[hdl](#hdl)

Transport handle

[psid](#psid)

Physical Security ID printed on the drive label

# [DESCRIPTION](#DESCRIPTION)

This erases all user data.

# [RETURN](#RETURN)

See the return value convention above.

libnvme\_sed\_revert\_psid October 2026

---

Document: libnvme_sed_revert_psid-libnvme3(2) from nvme-cli 3.2-r0 (Chainguard OS)
Source: https://github.com/linux-nvme/nvme-cli
