Ubuntu Manpages

nvme_get_log_rotational_media_info

Retrieve Rotational Media Information Log

int nvme_get_log_rotational_media_info (int fd , __u16 endgid , __u32 len , struct nvme_rotational_media_info_log *log );

File descriptor of nvme device
Endurance Group Identifier
The allocated length of the log page
User address to store the log page

The nvme command status if a response was received (see enum nvme_status_field) or -1 with errno set otherwise