libnvme(2)

✨ NAME ✨

enum nvme_cmd_format_mset β€” the Format NVM Metadata Settings enum, aka the tiny little menu that tells your drive where the metadata is gonna live πŸ’…

This is one page out of the libnvme API Manual (that's the "2" in libnvme(2) bestie, it's the manual section, not a sequel 😭).


πŸŽ€ SYNOPSIS πŸŽ€

enum nvme_cmd_format_mset {
    NVME_FORMAT_MSET_SEPARATE ,
    NVME_FORMAT_MSET_EXTENDED

};

okay so it's an enum, it's got exactly two members, and both of them are about metadata placement. That's the whole vibe. Simple. Iconic. No cap. ✨


πŸ¦‹ Constants πŸ¦‹

  • NVME_FORMAT_MSET_SEPARATE β€” this one says the metadata gets transferred as part of a separate buffer. Like, its own little buffer, living its own little life, separate from the data. Main character behavior, honestly. πŸ™ˆ
  • NVME_FORMAT_MSET_EXTENDED β€” and this one says the metadata gets transferred as part of an extended data LBA. So instead of a separate buffer, it's riding along inside the extended LBA. Carpooling. Together-core. 🫢

ngl bestie, that's the whole page. Two constants, both about where the metadata goes, and you're done. Lowkey a slay. πŸ’€βœ¨

That's the libnvme API Manual, section 2 β€” this page is enum nvme_cmd_format_mset, dated July 2026. Mwah, go format something responsibly. πŸ’–πŸŒΈ

πŸ“¦ where this page comes from