Hddtemp is a small utility that gives you the temperature of your hard drive by reading S.M.A.R.T. informations.
For compilling:
Code:
wget http://download.savannah.nongnu.org/releases/hddtemp/hddtemp-0.3-beta15.tar.bz2
bunzip2 hddtemp-0.3-beta15.tar.bz2
tar -xf hddtemp-0.3-beta15.tar
cd hddtemp-0.3-beta15
Change in configure first string from /bin/sh to /opt/bin/bash
Code:
./configure --prefix=/opt --build=mips
make
sudo cp src/hddtemp /opt/bin/
wget http://www.guzu.net/linux/hddtemp.db
sudo cp hddtemp.db /opt/etc/
sudo chmod a+s /opt/bin/hddtemp
After that you can see the temperature of your HDD via command:
Code:
hddtemp -f /opt/etc/hddtemp.db /dev/ide/host2/bus0/target0/lun0/disc
/dev/ide/host2/bus0/target0/lun0/disc: HDT722516DLAT80: 44?C
You must install buildroot package for compilling hddtemp.