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