DOKK / manpages / debian 12 / libnvme-dev / nvme_ns_identify.2.en
nvme_ns_identify(2) libnvme API manual nvme_ns_identify(2)

nvme_ns_identify - Issue an 'identify namespace' command

int nvme_ns_identify (nvme_ns_t n , struct nvme_id_ns *ns );

Namespace instance
nvme_id_ns buffer

Writes the data returned by the 'identify namespace' command into ns.

0 on success, -1 on error.

nvme_ns_identify January 2023