[parted-devel] [PATCH v2] Read NVMe model names from sysfs

Brian C. Lane bcl at redhat.com
Tue Oct 16 22:46:21 BST 2018


On Fri, Sep 07, 2018 at 01:31:15PM -0600, dann frazier wrote:
> parted currently shows the same generic model name for all NVMe devices:
> 
>   # parted /dev/nvme0n1 -s print | grep Model
>   Model: NVMe Device (nvme)
> 
> If the model information is available in sysfs, display that instead:
> 
>   # parted /dev/nvme0n1 -s print | grep Model
>   Model: THNSN5512GPU7 NVMe TOSHIBA 512GB (nvme)

Thanks, looks good to me. I'll push it to master in a bit.

-- 
Brian C. Lane (PST8PDT)



More information about the parted-devel mailing list