libnvme(2)
π NAME π
struct nvme_id_domain_attr β the Domain Attributes Entry, bestie π
and yeah, this is a page from the libnvme API manual, so you know it's the real deal.
β¨ SYNOPSIS β¨
struct nvme_id_domain_attr {
__le16 dom_id;
__u8 rsvd2[14];
__u8 dom_cap[16];
__u8 unalloc_dom_cap[16];
__u8 max_egrp_dom_cap[16];
__u8 rsvd64[64];
};
π Members π
okay so like, meet the whole squad, one field at a time π«Ά
dom_idβ the Domain Identifier. it's giving "which domain am I" energy πͺͺrsvd2β Reserved. nothing to see here, it's just vibing πdom_capβ the Total Domain Capacity. lowkey the main character of this struct πunalloc_dom_capβ the Unallocated Domain Capacity. aka the capacity that hasn't been claimed yet β¨max_egrp_dom_capβ the Max Endurance Group Domain Capacity. say that five times fast, I dare you πrsvd64β Reserved. more reserved than me at a party fr fr π
no cap: those rsvd* fields are Reserved. don't go writing your own lore into them, bestie, they're not yours to fill πΈ
and that's the whole page, periodt π this was libnvme(2), the API manual, from back in July 2026 β mwah, slay, go forth and query your domains π¦
π¦ where this page comes from
- ubuntu stonking: libnvme-dev 1.16.2-1build1 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms