Click to See Complete Forum and Search --> : How do I install hdparm?


Wallex
10-23-2002, 02:34 PM
Yeah, tell me to RTFM, and I'll reply there's no RTFM to begin with! Weird.. I just unpacked hdparm-5.2, and in that directory there's no README, no INSTALL, but there's a Makefile. So... I tried doing the make. I get several warnings like this:
/usr/include/linux/fs.h:169: warning: `BLKROGET' redefined
/usr/include/sys/mount.h:79: warning: this is the location of the previous definition
/usr/include/linux/fs.h:170: warning: `BLKRRPART' redefined
/usr/include/sys/mount.h:80: warning: this is the location of the previous definition
Should I panic or should I proceed with make install?

Silent Bob
10-23-2002, 05:03 PM
Do you have to build from source?

A quick google told me that there is a SuSE package for hdparm (version 4.1 available on cd1 apparently:))

Wallex
10-23-2002, 09:58 PM
Well you don't know me.. but I am a source maniac. I prefer installing everything from source and I usually avoid rpms unless they are absolutely necessary. Plus you always find stuff in tar.gz (or bz2) format. In a sense I am practicing for when I try Gentoo, so I really would prefer to install from source. Hmm... well, I'll just go ahead and make install, if hdparm doesn't works anymore, then I'll try the rpm.

Zaxon
10-23-2002, 10:05 PM
hey, at least with gentoo it is all compiled by typing in one thing. I love gentoo. :)
I am sorry i can't help, not to good at compiling from source.

Wallex
10-24-2002, 01:33 AM
Fancy how Gentoo is all about the source, yet you don't have to know 'anything' about source installing programs to get it running. Hdparm is there.. I guess it will work despite those warnings. It's pretty lame that they have packed such an useful utility without installation instructions, though....