lpereira / hardinfo

System profiler and benchmark tool for Linux systems
http://hardinfo.org
GNU General Public License v2.0
772 stars 130 forks source link

Hardinfo 0.6-alpha on Debian not report storage #625

Open JGG-Apps opened 3 years ago

JGG-Apps commented 3 years ago

Hi,

Since many Debian version, it seem Hardinfo still having an issue to properly report information about hard drives (storage) but I didn't find any official request to your dev team to fix it, then I do it !

Under "Computer Summary -> Storage"

ComputerSummary

Or "Peripheral -> Storage" we just have nothing (empty result).

PeripheralStorage

I'm not in expert in coding, but when I searched on the Internet some people talk about this issue and may be they already have the answer how to fix it... Now just need someone authorized to modifiy and understand the code to do it.

I take a phrase from another person: "I discovered that the Storage box info is parsed from /proc/scsi/ & /proc/ide/ With newer kernels those folders do not exist. The information is presented in a different format in /sys/class/scsi_disk/ & /sys/class/ata_device/"

I confirm with a basic file explorer that /proc/scsi/ or /proc/ide/ are no more existing, but we can easily found /sys/class/... tree where information about hard drive (storage) can be enumerated.

In hope this will be take in consideration and a newer version will be available soon AND be published through Debian 11 (bullseye), 12 (bookworm), ...

Regards

lpereira commented 3 years ago

Thanks for the report! These have been fixed for quite some time now; Debian just hasn't updated the package yet.

JGG-Apps commented 3 years ago

Hi

Could you tell me in which version exactly this was fixed ?

With this information I could challenge Debian team.

In the other side, do you have a compiled (deb) package that I can download to test it ?

Regards

ocerman commented 3 years ago

hello @JGG-Apps

In January 2019 my PR #330 has been merged that should fix it.

There is no precompiled deb package available right now, but it should be easy to compile it under debian with following commands: https://github.com/lpereira/hardinfo/issues/325#issuecomment-493809219