diff -up sysstat-9.0.3/iostat.c.pom sysstat-9.0.3/iostat.c --- sysstat-9.0.3/iostat.c.pom 2009-04-16 18:30:27.000000000 +0200 +++ sysstat-9.0.3/iostat.c 2009-05-28 11:49:45.000000000 +0200 @@ -825,8 +825,10 @@ void read_diskstats_stat(int curr) else if (i == 7) { /* Partition without extended statistics */ if (DISPLAY_EXTENDED(flags) || - (!dlist_idx && !DISPLAY_PARTITIONS(flags))) - continue; + (!dlist_idx && !DISPLAY_PARTITIONS(flags))) { + fprintf(stderr, _("Your kernel does not produce data for partition extended statistics\n")); + exit(1); + } sdev.rd_ios = rd_ios; sdev.rd_sectors = rd_merges_or_rd_sec; diff -up sysstat-9.0.3/man/iostat.1.pom sysstat-9.0.3/man/iostat.1 --- sysstat-9.0.3/man/iostat.1.pom 2009-04-16 18:01:06.000000000 +0200 +++ sysstat-9.0.3/man/iostat.1 2009-05-28 11:53:36.000000000 +0200 @@ -462,6 +462,8 @@ and all its partitions are displayed. La keyword indicates that statistics have to be displayed for all the block devices and partitions defined by the system, including those that have never been used. +Some kernels does not produce extended statistic for partitions so then. +the combination of -p and -x options return an error. Note that this option works only with post 2.5 kernels. .IP -t Print the time for each report displayed. The timestamp format may depend