"vmstat -d" is now able to display devices with longer names
When a disk statistics report is required, only the first 15 characters of the device name were previously read from the `/proc/diskstats` file. Consequently, devices with names longer than 15 characters were not shown in the output of the "vmstat -d" command. With this update, the formatting string has been changed to read up to 31 characters, and devices with longer names are now correctly displayed by "vmstat -d".
Created attachment 1114874[details]
procps-ng-3.3.10-vmstat-devlen.patch
This is a blind forward-port of the procps-3.2.8-vmstat-devlen.patch from RHEL6. There's a small risk of breaking customer apps linked against the libprocps library, if they use disk_stat and partition_stat structures.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://rhn.redhat.com/errata/RHBA-2016-2447.html
Created attachment 1114874 [details] procps-ng-3.3.10-vmstat-devlen.patch This is a blind forward-port of the procps-3.2.8-vmstat-devlen.patch from RHEL6. There's a small risk of breaking customer apps linked against the libprocps library, if they use disk_stat and partition_stat structures.