Is there a way to retrieve the model number of a NVME drive through a ioctl function call? This is possible for a IDE drive by using the hd_driveid struct defined in /include/linux/hdreg.h.
hdreg.h
struct hd_driveid{
...
unsigned short ecc_bytes;
unsigned char fw_rev[8];
unsigned char model[40]; /*see here*/
unsigned char max_multsect;
...
}
I do not see a similar method for retrieving the model of a NVMe drive in /include/linux/nvme_ioctl.h
I fear