libnvme(2)
π libnvme β the enum nvme_id_ctrl_nvmsr page π
okay bestie, welcome to the libnvme manual, section 2 (that's the API section, iykyk). this one's a lil baby page and it's literally all about one enum, but the way it eats?? we love a focused queen. π
β¨ NAME β¨
enum nvme_id_ctrl_nvmsr β this field reports info that's associated with the NVM Subsystem, see &struct nvme_id_ctrl.nvmsr.
like, that's the whole vibe. it's a field. it tells you stuff about the NVM Subsystem. go look at &struct nvme_id_ctrl.nvmsr for the whole story. π
πΈ SYNOPSIS πΈ
here's the shape of her, no cap:
enum nvme_id_ctrl_nvmsr {
NVME_CTRL_NVMSR_NVMESD ,
NVME_CTRL_NVMSR_NVMEE
};
two constants, one enum, zero drama. periooooodt. π
π¦ Constants π¦
okay so these are the two girls in the group chat. here's what each one is actually saying:
NVME_CTRL_NVMSR_NVMESDβ if this is set, then the NVM Subsystem is part of an NVMe Storage Device. if it's cleared, then the NVM Subsystem is not part of an NVMe Storage Device. that's it, that's the tea. πNVME_CTRL_NVMSR_NVMEEβ if this is set, then the NVM Subsystem is part of an NVMe Enclosure. if it's cleared, then the NVM Subsystem is not part of an NVMe Enclosure. iconic behavior honestly. β¨
fr fr: these are bit-style flags, bestie β "set" vs "cleared" is the whole language here, so don't go reading them as vibes, read them as bits. π
and that's the page!! slay. π«Ά
kisses, this was the enum nvme_id_ctrl_nvmsr page out of the libnvme API Manual, dated July 2026. go forth and check your nvmsr field, bestie, you've got this. πβ¨ππ¦πΈ
π¦ 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