This one time, at band camp, Frans Pop said: > # hdparm --direct -t /dev/sda > /dev/sda: Not a directory > > Patch (direct from Mark Lord :-) that fixes the issue: > --- hdparm-9.12/hdparm.c 2009-02-26 13:10:22.000000000 -0500 > +++ hdparm/hdparm.c 2009-03-14 15:17:10.000000000 -0400 > @@ -4,6 +4,7 @@ > #include <string.h> > #include <stdlib.h> > #include <stdio.h> > +#define __USE_GNU /* for O_DIRECT */ > #include <fcntl.h> > #include <errno.h> > #include <ctype.h> > @@ -25,7 +26,7 @@ > > extern const char *minor_str[]; > > -#define VERSION "v9.12" > +#define VERSION "v9.12+" > > #ifndef O_DIRECT > #define O_DIRECT 040000 /* direct disk access, not easily obtained from > headers */
What, you couldn't do the upload for me as well? :) Some people take all the fun out fixing bugs :) Expect an upload shortly. Cheers, -- ----------------------------------------------------------------- | ,''`. Stephen Gran | | : :' : sg...@debian.org | | `. `' Debian user, admin, and developer | | `- http://www.debian.org | -----------------------------------------------------------------
signature.asc
Description: Digital signature