libnvme(9)

πŸ“¦ version 3.2, in arch rolling

πŸ’… libnvme(9) β€” the struct nvme_lockdown_cfi_desc of your dreams

okay so bestie, welcome to libnvme, section 9 of the manual, and today's main character is a lil struct called nvme_lockdown_cfi_desc. it's giving "small but mighty" ✨ she's the Command and Feature Identifier Descriptor, and honestly? icon behavior.


πŸŽ€ NAME

struct nvme_lockdown_cfi_desc β€” Command and Feature Identifier Descriptor

like… that's her whole job. that's the assignment and she ate πŸ’…


✨ SYNOPSIS

struct nvme_lockdown_cfi_desc {
    __u8 cfi;
    __u8 cfia;
 };

two tiny __u8 fields. that's it. no cap, she's lowkey minimal and I'm obsessed 🫢


🌸 Members

⭐ cfi

Command and Feature Identifier: its contents depend on the Contents Selected (CS) and Scope Selected (SS) fields of struct nvme_lockdown_log_enhanced.cfia.

so yeah β€” what cfi actually means is not fixed, it's contextual, iykyk. she reads the room (specifically, those CS and SS fields) before she tells you anything. main character energy fr fr πŸ’–

⭐ cfia

Command and Feature Identifier Attributes β€” see enum nvme_lockdown_cfi_desc_cfia for the details πŸ‘‘

that's your pointer to the enum, bestie. go look at enum nvme_lockdown_cfi_desc_cfia if you wanna know what attributes live in there. I'm not gonna invent them, that's not the vibe πŸ™ˆ


and that's the whole page, bestie! short and sweet like a little strawberry πŸ“ this one shipped in the October 2026 release, and it's living its best life in libnvme(9) β€” mwah, slay, periodt πŸ’‹βœ¨

πŸ“¦ where this page comes from