Package: hddtemp
Severity: wishlist

Hello,

I have been surprised to see the changelog entry about the planned removal of
hddtemp. I would like to leave a couple of comments to that.

>  hddtemp has been dead upstream for many years and is therefore in a minimal
>  maintenance mode. It will be shipped in the Debian Bullseye release, but
>  will not be present in the Debian Bookworm release.

Could it be a case of a program that is basically _done_, i.e. it works, keeps
working, and doesn't need any changes or new features, other than "minimal
maintenance" in the first place?

Or could you give some examples of issues that arise and go unsolved because
of "dead" upstream? Seeing from next to no bugreports in Debian, doesn't seem
that there are many.

>  Nowadays the 'drivetemp' kernel module is a better alternative. It uses the
>  Linux Hardware Monitoring kernel API (hwmon), so the temperature is returned
>  the same way and using the same tools as other sensors.

Does not seem to be the case. Of course running "sensors" then returns:

> drivetemp-scsi-4-0
> Adapter: SCSI adapter
> temp1:        +32.0°C  (low  =  +0.0°C, high = +60.0°C)
>                        (crit low = -40.0°C, crit = +65.0°C)
>                        (lowest = +28.0°C, highest = +42.0°C)

And what I wanted to know was the temperature of /dev/sda.

There is no "sensors /dev/sda" obviously, and not obvious for the user how to
easily convert sda to scsi-X-Y. Calling *this* the better alternative seems
extremely premature.

At least some wrapper should be introduced (or maybe there's already one?)
that would offer the exact command-line interface as hddtemp, but then
retrieve the temperature in "the better way" under the hood (if there's really
such a pressing need...)

Not to mention it would return 24 of these paragraphs when called
(interrupting all the drives to fetch temperature?), assuming e.g. 24 drives,
even if I wanted the temperature of just one.

>  Loading this module is as easy as creating a file in the /etc/modules-load.d
>  directory:
>
>    echo drivetemp > /etc/modules-load.d/drivetemp.conf

Loading it might be easy, but as one proverb says, "only if you're not
interested in the results"...

-- 
With respect,
Roman

Reply via email to