libnvme(9)
πΈ NAME πΈ
bestie, this is the libnvme API manual (like, the actual libnvme(9) page, hi π), and today's main character is enum nvme_mi_port_sdformat β the 2-Wire Port Specific Data - Supported Data Format field, aka SDFORMAT. it's giving "small enum, big responsibilities" fr fr π
β¨ SYNOPSIS β¨
okay so here's the whole thing, verbatim, no cap:
enum nvme_mi_port_sdformat {
NVME_MI_PORT_SDFORMAT_BYTE_LEVEL ,
NVME_MI_PORT_SDFORMAT_512B ,
NVME_MI_PORT_SDFORMAT_4KIB
};
like yes, there's a space before each comma, and yes there's a blank line before the closing brace β that's just how it is, we don't question the source, we respect the source π«Ά
π Constants π
three constants, three vibes, all of them about the NVMe-MI Persistent Data Area. let's get into it π
NVME_MI_PORT_SDFORMAT_BYTE_LEVELβ this one means Byte Level data format of the NVMe-MI Persistent Data Area is supported. byte. level. the smallest unit. the micro-influencer of data formats π¦NVME_MI_PORT_SDFORMAT_512Bβ this means 512B data format of the NVMe-MI Persistent Data Area is supported. five hundred and twelve bytes of pure, unbothered storage energy πNVME_MI_PORT_SDFORMAT_4KIBβ and this one means 4KiB data format of the NVMe-MI Persistent Data Area is supported. four kibibytes. the main character size. iconic, honestly π
reminder bestie: these are just supported formats β the enum tells you what the Persistent Data Area supports, it doesn't pick one for you. iykyk π
and that's the page!! slay π this whole thing is from the libnvme(9) API Manual β October 2026, covering enum nvme_mi_port_sdformat, so if you ever need to cite it, that's the source and the date, periodt β¨π
π¦ where this page comes from
- arch rolling: nvme-cli 3.2-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms