aboutsummaryrefslogtreecommitdiff
path: root/miscutils/hdparm.c
AgeCommit message (Collapse)Author
2004-04-05Tito, farmatito at tiscali dot it writes:Eric Andersen
Hi to all, I discovered a little bug in hdparm.c (really two little bugs...I've made...sigh! Mea culpa). Some vars were modified only locally and this could lead to wrong results to be displayed with the -I switch and maybe with others. Attached is a patch that fix it ( +88b). Also attached is second patch that reduces the size a little bit: text data bss dec hex filename 27984 624 900 29508 7344 hdparm.o (without bug-fix) 28072 624 900 29596 739c hdparm.o (with bug-fix) 28141 624 900 29665 73e1 hdparm.o (original) but maybe this one can wait as we are in a feature freeze. Ciao, Tito
2004-03-20Tito noticed a printf that should have been a bb_error_msg.Eric Andersen
2004-03-19Fix broken arg parsing (was not passing pointer to items so p, argc, and argvEric Andersen
were only modified locally). Fix error reporting to properly describe why ioctls fail.
2004-03-15Remove trailing whitespace. Update copyright to include 2004.Eric Andersen
2004-02-14Avoid naming conflict with symbol in newer glibc headersEric Andersen
2003-12-12Fix compile when CONFIG_FEATURE_HDPARM_GET_IDENTITY is disabledEric Andersen
2003-11-28Correct Matteo's email addressGlenn L McGrath
2003-10-09Patch from Steven Scholz, fix some warningsGlenn L McGrath
2003-10-09Patch from Tito, size optimisation and fix error in exit code of -VGlenn L McGrath
option
2003-09-15Update Matteo Croce's email addressGlenn L McGrath
2003-08-08quiet some noiseEric Andersen
2003-08-06Patch from Steven Scholz:Eric Andersen
should we rename the define into CONFIG_FEATURE_HDPARM_HDIO_DMA and use it for "set" and "get" ??? Since although CONFIG_FEATURE_HDPARM_HDIO_GET_DMA is _not_ set I still can use "hdparm -d 1 /dev/hda" to switch the DMA on. Is this desireable or meant to be like that? So how about the applied patch?
2003-08-06Sync hdparm -t and -T options with hdparm-5.3, which seemsEric Andersen
to produce sensible results,
2003-07-22Matteo Croce submitted a hdparm applet.Eric Andersen