Commit d94dae3
nvme-print: Update generic name listing to be platform independent
Refactors generic path discover in nvme-print and nvme-print-stdout to
fall back to using livnvme_ns_get_generic name. Allows platform
independent generic name behavior, and removes duplicated "ng%dn%d"
string building on Linux. Also widens Generic list section of detailed
list slightly to provide enough space for Windows generic names.
Signed-off-by: Broc Going <bgoing@micron.com>1 parent a95821f commit d94dae3
2 files changed
Lines changed: 8 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5646 | 5646 | | |
5647 | 5647 | | |
5648 | 5648 | | |
5649 | | - | |
| 5649 | + | |
5650 | 5650 | | |
5651 | 5651 | | |
5652 | 5652 | | |
| |||
5797 | 5797 | | |
5798 | 5798 | | |
5799 | 5799 | | |
5800 | | - | |
| 5800 | + | |
5801 | 5801 | | |
5802 | 5802 | | |
5803 | 5803 | | |
| |||
5955 | 5955 | | |
5956 | 5956 | | |
5957 | 5957 | | |
5958 | | - | |
| 5958 | + | |
5959 | 5959 | | |
5960 | | - | |
| 5960 | + | |
5961 | 5961 | | |
5962 | 5962 | | |
5963 | 5963 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1683 | 1683 | | |
1684 | 1684 | | |
1685 | 1685 | | |
1686 | | - | |
| 1686 | + | |
| 1687 | + | |
| 1688 | + | |
1687 | 1689 | | |
1688 | 1690 | | |
1689 | 1691 | | |
| |||
1692 | 1694 | | |
1693 | 1695 | | |
1694 | 1696 | | |
1695 | | - | |
| 1697 | + | |
1696 | 1698 | | |
1697 | 1699 | | |
1698 | 1700 | | |
| |||
0 commit comments