inxi is a full featured CLI system information tool. It is available in most Linux distribution repositories, and does its best to support the BSDs.
Go to file
inxi-svn cafa625166 New version, tarball. This fixes one small oversight, placing USB in front of ID-[x]
of disk drive lists. Was showing USB ID-1: /dev/sde now shows: ID-1: USB /dev/sde
that is more intuitive and keeps the columns in alignment more or less, easier
to read.

Second, fixes a bug with some file systems / usb drives
where they do not use usb- in the /dev/disk/by-id line but only wwn-
https://access.redhat.com/site/documentation/en
-US/Red_Hat_Enterprise_Linux/5/html/Online_Storage_Reconfiguration_Guide/persistent_naming.html
explains it somewhat.

the fix is adding a second if null test of the device /dev/sdx in by-path, that seems 
to fix the issue. by-path does have the usb- item, though it does not have the name
so it's not as reliable in absolute terms, but it's fine as a second step fallback 
option.
2014-04-24 18:56:23 +00:00
inxi New version, tarball. This fixes one small oversight, placing USB in front of ID-[x] 2014-04-24 18:56:23 +00:00
inxi.1 While this release has some new features, they are all intended for development use 2014-04-14 20:35:38 +00:00
inxi.changelog New version, tarball. This fixes one small oversight, placing USB in front of ID-[x] 2014-04-24 18:56:23 +00:00