libnvme(2)
π libnvme(2) β the API Manual, bestie edition π
okay so welcome to the libnvme manual page, section 2, and today's main character is a lil struct called nvme_media_unit_stat_desc β yes that's a mouthful, yes it ate, we move π
β¨ NAME β¨
struct nvme_media_unit_stat_desc β the Media Unit Status Descriptor π
πΈ SYNOPSIS πΈ
like, here's the whole vibe, laid out exactly as it lives in the code:
struct nvme_media_unit_stat_desc {
__le16 muid;
__le16 domainid;
__le16 endgid;
__le16 nvmsetid;
__le16 cap_adj_fctr;
__u8 avl_spare;
__u8 percent_used;
__u8 mucs;
__u8 cio;
};
π¦ Members π¦
okay bestie, field-by-field, no skips, we're doing all of them π
muidβ the Media Unit Identifier. that's the name tag every media unit wears at the party.domainidβ the Domain Identifier. which domain this cutie belongs to.endgidβ the Endurance Group Identifier. yes, endurance, she's got stamina πͺnvmsetidβ the NVM Set Identifier. which NVM set she runs with.cap_adj_fctrβ the Capacity Adjustment Factor. lowkey the math girlie of the struct.avl_spareβ Available Spare. how much spare is still in the tank β¨percent_usedβ Percentage Used. how much wear she's already been through, ngl πmucsβ the Number of Channels attached to media units. yes, channels, plural, we counted.cioβ the Channel Identifiers Offset. where the channel identifiers start, fr fr.
and that's the whole struct, every single field, nothing left behind, periodt. π«Ά
ngl there are no options, no exit statuses, no environment variables and no errors on this page β it's literally just the descriptor and her nine fields. iconic of her honestly.
π SEE ALSO π
nothing listed, bestie β this one stands alone like a true main character π§
sign-off era: this page came from July 2026, it documents struct nvme_media_unit_stat_desc, and it lives in the libnvme(2) manual. mwah, go read your structs πππΈ
π¦ 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