#1015831 [hddtemp] Please keep hddtemp in Debian

#1015831#5
Date:
2022-07-22 02:18:28 UTC
From:
To:
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.

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.

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

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 it might be easy, but as one proverb says, "only if you're not
interested in the results"...