우왕.. 이런것도 있구나..
이거 빌드하려고 2일 버렸어.. ㅠㅠ
################################################################
#
# hddtemp는 HDD의 온도를 측정하는데 사용.
#
################################################################
다음과 같은 방법으로 사용.
0. require
$ sudo apt-get install gettext
1. build & install
$ tar -xvzf hddtemp_0.3-beta15.orig.tar.gz
$ cd hddtemp-0.3-beta15
$ sudo ./configure
$ sudo make
$ sudo make install
1.1 cross compile
$ ./configure --host=mipsel-linux --target=mipsel-linux --prefix=/home/erato/shared/hddtemp
$ make
$ sudo make install
2. patch
첨부된 파일(hddtemp_0.3-beta15-51.diff.gz)을 이용해서 patch
$ gunzip hddtemp_0.3-beta15-52.diff.gz
$ cp hddtemp_0.3-beta15-51.diff hddtemp-0.3-beta15
$ cd hddtemp-0.3-beta15
$ patch -p1 -i hddtemp_0.3-beta15-51.diff
3. 사용방법
$ cp hddtemp.db /usr/share/misc/
$ hddtemp /dev/sda
output
/dev/sda: WDC WD2500YS-01SHB1: 25°C
'Linux' 카테고리의 다른 글
삼바 서버에 마운트 하기 (0) | 2014.07.28 |
---|---|
openssl cross 컴파일 하기 (0) | 2014.07.22 |
flash ubi format으로 파티션 나누고 마운트 하기 (0) | 2014.07.11 |
/bin/sh substitution (0) | 2014.06.11 |
sqlite3 mips compile (0) | 2012.12.07 |