https://bugzilla.kernel.org/show_bug.cgi?id=199155 Bug ID: 199155 Summary: /sys/block/dev/device/model truncates to 16 characters Product: IO/Storage Version: 2.5 Kernel Version: 4.4 to 4.16 Hardware: All OS: Linux Tree: Mainline Status: NEW Severity: normal Priority: P1 Component: SCSI Assignee: linux-scsi@xxxxxxxxxxxxxxx Reporter: seitzbg@xxxxxxxxx Regression: No When trying to determine the model of a disk to compare against an ordered BOM I saw that this field was limited to 16 characters in: https://elixir.bootlin.com/linux/v4.16-rc6/source/drivers/scsi/scsi_sysfs.c#L638 hdparm -I which uses an IOCTL obtains the full model name such as: INTEL SSDSC2KB240G7 Where the sysfs entry says: INTEL SSDSC2KB24 I don't know if this is a bug or if longer than 16 chars is out of spec. Ideally sysfs would show the full model name if possible. -- You are receiving this mail because: You are the assignee for the bug.