2. Modified source for hdtool.c: http://pastebin.com/iBf6dVup
3. Get source for hdparm win32 (google filename: hdparm-6.9-1-src.tar.bz2) and deposit rawio.c in the same folder as hdtool.c, fs.h, hdreg.h and rawio.h in include subfolder of hdtool folder.
hdtool is a Cygwin remake of hdtool from xbox linux. http://forums.xbox-s...&...t&p=4657231
Source came from hdparm source from sourceforge, work by Christian Franke and Linux kernel source. Hence I think GPL license applies.
Edited by ldotsfan, 14 March 2010 - 04:13 AM.