-
Notifications
You must be signed in to change notification settings - Fork 4
Remove NSID field from switchtec device name #14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
New switchtec device name format is: pdfid@devicefile. Example: 0x3b00@/dev/switchtec0
PAX device is not a block device
Only display device name in 'Node' field. The NSID is displayed in 'Namespace' field
|
Looks good to me. Only issue is that the items in the Usage and Format column are not aligned with the column name. For example, the "4.29" in the second line doesn't have the same offset in line as "Usage" has. |
|
Yes this is an issue with the this generates too many spaces between |
|
The other solution is to move Usage and Format to the middle, like this: |
kelvin-cao
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm good with current format. It seems we have to choose between alignment and extra spaces. Let's keep it as is. Thanks.
Made the following changes:
nXXXXfromswitchtec listcommand outputnXXXXin switchtec device stringget-ns-idcommand: return error codeis_blkfield frompax_nvme_devicestructureOutput is shown below: