You are not logged in.
Pages: 1
I can use sudo to get the temperature for both of my 2 hard drives, although the hddtemp daemon can only load the first hard drive (/dev/sdb gets an open error). Is there a way to fix this?
Offline
You're running the daemon? Why? Add your user to your /etc/sudoers and:
$ sudo hddtemp /dev/sda
/dev/sda: ST31000528AS: 28°C
$ sudo hddtemp /dev/sdb
/dev/sda: ST31000528AS: 27°C
Example entry for sudo:
%users ALL=NOPASSWD: /usr/sbin/hddtemp
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
Thank you so much for the solution given To bad hddtemp needs to be run as root.
Offline
Did you set up the daemon through its configuration file?
If not, you might wanna try that first. I remember having no problem running the daemon with multiple hard disks.
Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy
Offline
You're running the daemon? Why? Add your user to your /etc/sudoers and:
$ sudo hddtemp /dev/sda /dev/sda: ST31000528AS: 28°C $ sudo hddtemp /dev/sdb /dev/sda: ST31000528AS: 27°C
Example entry for sudo:
%users ALL=NOPASSWD: /usr/sbin/hddtemp
I should have probably done that; either way, I have a new computer, now, and no longer have this problem.
Offline
Pages: 1