libnvme(9)
π libnvme(9) β the API Manual, bestie edition β¨
Okay so this page is from the libnvme API manual, section 9, and it's literally all about one little struct: struct nvmf_ext_attr. Yes, the whole page. She's the main character today and honestly? deserved. π
πΈ NAME πΈ
struct nvmf_ext_attr β Extended Attribute (EXAT) π¦
β¨ SYNOPSIS β¨
Here's the whole glow-up, exactly as written:
struct nvmf_ext_attr {
__le16 exattype;
__le16 exatlen;
__u8 exatval[];
};
Three members. That's it. That's the struct. Iconic behavior, no notes. π
π Members π
exattypeβ the Extended Attribute Type (EXATTYPE), and it's giving "go look atenum nvmf_exattype" β so like, that's where the actual type list lives, iykyk. π₯exatlenβ the Extended Attribute Length (EXATLEN). Just the length. That's the whole vibe check for this one. πΈexatvalβ the Extended Attribute Value (EXATVAL). And here's the important part, bestie, don't skip it: the size allocated for this array must be a multiple of 4 bytes. Not 3, not 5, not "ehhh close enough" β a multiple of4. That's the rule, fr fr. β οΈ
Not me making a whole manpage out of three struct members, but that's genuinely all that's on this page. Every field accounted for, nothing skipped, we keep every detail around here. π
And that's the page! π«Ά For the record, this one's from the API Manual β libnvme(9) β titled struct nvmf_ext_attr, dated October 2026 β. Slay, go forth and build your extended attributes correctly ππ§
π¦ 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