Subject: re: CVS commit: syssrc/sys/kern
To: Simon Burge <simonb@wasabisystems.com>
From: matthew green <mrg@eterna.com.au>
List: source-changes
Date: 11/03/2002 12:52:03
   
   Matt - did you say there was something else affecting binary
   compatibility?  Or was this the only issue?


both issues were related to sizing, and i think this takes care of both.
one was that dkstats.c used "total-size-from-kernel / sizeof(struct
disk_sysctl)" to calculate the number of drives.  the other was it not
passing in the length it wanted, so was getting disk stats info for all
but the first disk at the 'wrong' offset into the buffer.  if the kernel
assumes that no passed in size == first generation, then it should work
for old binaries as well i think.


.mrg.