nvme_identify_uuid - Retrieves device's UUIDs
int nvme_identify_uuid (int fd , struct
nvme_id_uuid_list *uuid_list );
- fd
- File descriptor of nvme device
- uuid_list
- User space destination address to transfer the data
Each UUID List entry is either 0h, the NVMe Invalid UUID, or a valid UUID. Valid
UUIDs are those which are non-zero and are not the NVMe Invalid UUID.
See
struct nvme_id_uuid_list for the definition of the returned
structure.
The nvme command status if a response was received (see
enum
nvme_status_field) or -1 with errno set otherwise.