libnvme(2)
π NAME π
okay so bestie, gather round β this is libnvme, and this page is all about one very specific little struct:
struct nvme_id_independent_id_ns β aka the Identify - I/O Command Set Independent Identify Namespace Data Structure. yes that's a mouthful. yes it's iconic. no we are not shortening it. π
It lives in the libnvme API manual, in section 2, so if you see libnvme(2) floating around that's just where we're at. π¦
β¨ SYNOPSIS β¨
struct nvme_id_independent_id_ns {
__u8 nsfeat;
__u8 nmic;
__u8 rescap;
__u8 fpi;
__le32 anagrpid;
__u8 nsattr;
__u8 rsvd9;
__le16 nvmsetid;
__le16 endgid;
__u8 nstat;
__u8 kpios;
__le16 maxkt;
__u8 rsvd18[2];
__le32 rgrpid;
__u8 rsvd24[4072];
};
look at her. 4072 bytes of reserved space and she still slays. π
πΈ Members πΈ
okay now the main character energy β let's meet every single field, no skips, no cuts, fr fr:
nsfeatβ the common namespace features. lowkey the basics but we love her. β¨nmicβ Namespace Multi-path I/O and Namespace Sharing Capabilities. it's giving βcan this namespace be shared thoβ energy. π«Άrescapβ Reservation Capabilities. what she can reserve. periodt.fpiβ Format Progress Indicator. yes bestie, formats take time and she will tell you about it. β³anagrpidβ ANA Group Identifier. Asymmetric Namespace Access but make it a group chat id. π¬nsattrβ Namespace Attributes. the vibe check of the namespace itself.rsvd9β reserved. π do not touch. she's resting.nvmsetidβ NVM Set Identifier. which NVM set she belongs to. found family. π₯°endgidβ Endurance Group Identifier. her endurance group β staying power, honestly iconic. π₯nstatβ Namespace Status. the "how's she doing" field. we love a status update. π©Ίkpiosβ Key Per I/O Status. Key Per I/O but a status. iykyk. πmaxktβ Maximum Key Tag. the biggest key tag allowed. big tag energy. π·οΈrsvd18β Reserved. another nap spot. πrgrpidβ Reachability Group Identifier. Reachability Group, as an id. she's reachable. she's available. πrsvd24β Reserved. the final nap spot, and honestly? she earned it. π΄
no cap: some of these are literally just <red>reserved</red> and you should leave them alone. the manpage said reserved. we respect the reserved. π«‘
π and that's the whole struct π
that's it bestie, that's the page. every field, every byte, every reserved lil nap zone accounted for. she's a whole data structure and she's doing great. π
okay bye ily β this was the struct nvme_id_independent_id_ns page out of libnvme(2), stamped July 2026, brought to you by libnvme. mwah π β¨π¦πΈπ
π¦ 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