libnvme(9) API Manual libnvme(9)

# [NAME](#NAME)

struct nvme\_ns\_id\_desc - Namespace identifier type descriptor

# [SYNOPSIS](#SYNOPSIS)

struct nvme\_ns\_id\_desc {  
**\_\_u8 nidt;**  
**\_\_u8 nidl;**  
**\_\_le16 rsvd;**  
**\_\_u8 nid\[];**  
};

# [Members](#Members)

[nidt](#nidt)

Namespace Identifier Type, see *enum nvme\_ns\_id\_desc\_nidt*

[nidl](#nidl)

Namespace Identifier Length contains the length in bytes of the *struct nvme\_id\_ns*.nid.

[rsvd](#rsvd)

Reserved

[nid](#nid)

Namespace Identifier contains a value that is globally unique and assigned to the namespace when the namespace is created. The length is defined in *struct nvme\_id\_ns*.nidl.

struct nvme\_ns\_id\_desc October 2026

---

Document: nvme_ns_id_desc-libnvme3(2) from nvme-cli 3.2-r0 (Chainguard OS)
Source: https://github.com/linux-nvme/nvme-cli
