Re: multiple issues with devstat_*(9)

2011-04-12 Thread Alexander Best
On Mon Apr 11 11, Kenneth D. Merry wrote: On Thu, Apr 07, 2011 at 13:59:35 +0300, Alexander Motin wrote: Alexander Best wrote: On Fri Apr 1 11, John Baldwin wrote: On Thursday, March 31, 2011 6:33:39 pm Alexander Best wrote: i think there are multiple issues with devstat. i found the

Re: multiple issues with devstat_*(9)

2011-04-11 Thread Alexander Motin
Alexander Best wrote: On Sun Apr 10 11, Alexander Motin wrote: Alexander Best wrote: On Thu Apr 7 11, Alexander Motin wrote: Assuming that SCSI and IDE in -t option means transport type, and assuming that we count everything except ATA and SATA as SCSI, I've made following patch, that

Re: multiple issues with devstat_*(9)

2011-04-11 Thread Alexander Best
On Mon Apr 11 11, Alexander Motin wrote: Alexander Best wrote: On Sun Apr 10 11, Alexander Motin wrote: Alexander Best wrote: On Thu Apr 7 11, Alexander Motin wrote: Assuming that SCSI and IDE in -t option means transport type, and assuming that we count everything except ATA and SATA

Re: multiple issues with devstat_*(9)

2011-04-11 Thread Alexander Motin
Alexander Best wrote: On Mon Apr 11 11, Alexander Motin wrote: Alexander Best wrote: my cd0 is a pata atapi dvdrom drive and i have the following in my kernel conf: device atacore device ahci device atajmicron device atapci #device atapicd

Re: multiple issues with devstat_*(9)

2011-04-11 Thread Alexander Best
On Mon Apr 11 11, Alexander Motin wrote: Alexander Best wrote: On Mon Apr 11 11, Alexander Motin wrote: Alexander Best wrote: my cd0 is a pata atapi dvdrom drive and i have the following in my kernel conf: device atacore device ahci device atajmicron

Re: multiple issues with devstat_*(9)

2011-04-11 Thread Alexander Motin
On 11.04.2011 12:34, Alexander Best wrote: On Mon Apr 11 11, Alexander Motin wrote: Alexander Best wrote: On Mon Apr 11 11, Alexander Motin wrote: Alexander Best wrote: my cd0 is a pata atapi dvdrom drive and i have the following in my kernel conf: device atacore device

Re: multiple issues with devstat_*(9)

2011-04-11 Thread Kenneth D. Merry
On Thu, Apr 07, 2011 at 13:59:35 +0300, Alexander Motin wrote: Alexander Best wrote: On Fri Apr 1 11, John Baldwin wrote: On Thursday, March 31, 2011 6:33:39 pm Alexander Best wrote: i think there are multiple issues with devstat. i found the following in devicestat.h: ... funny

Re: multiple issues with devstat_*(9)

2011-04-11 Thread Kenneth D. Merry
On Sun, Apr 10, 2011 at 23:19:31 +0300, Alexander Motin wrote: Alexander Best wrote: On Thu Apr 7 11, Alexander Motin wrote: Alexander Best wrote: On Fri Apr 1 11, John Baldwin wrote: On Thursday, March 31, 2011 6:33:39 pm Alexander Best wrote: i think there are multiple issues with

Re: multiple issues with devstat_*(9)

2011-04-11 Thread Alexander Motin
On 11.04.2011 18:43, Kenneth D. Merry wrote: On Sun, Apr 10, 2011 at 23:19:31 +0300, Alexander Motin wrote: Alexander Best wrote: 2) the pass* devices still don't show up under ide/scsi/other. that's ok, but then the src comments and manual pages need to be changed accordingly. As I have

Re: multiple issues with devstat_*(9)

2011-04-11 Thread Kenneth D. Merry
On Mon, Apr 11, 2011 at 19:09:00 +0300, Alexander Motin wrote: On 11.04.2011 18:43, Kenneth D. Merry wrote: On Sun, Apr 10, 2011 at 23:19:31 +0300, Alexander Motin wrote: Alexander Best wrote: 2) the pass* devices still don't show up under ide/scsi/other. that's ok, but then the src

Re: multiple issues with devstat_*(9)

2011-04-11 Thread Alexander Best
On Mon Apr 11 11, Kenneth D. Merry wrote: On Sun, Apr 10, 2011 at 23:19:31 +0300, Alexander Motin wrote: Alexander Best wrote: On Thu Apr 7 11, Alexander Motin wrote: Alexander Best wrote: On Fri Apr 1 11, John Baldwin wrote: On Thursday, March 31, 2011 6:33:39 pm Alexander Best

Re: multiple issues with devstat_*(9)

2011-04-10 Thread Alexander Best
On Thu Apr 7 11, Alexander Motin wrote: Alexander Best wrote: On Fri Apr 1 11, John Baldwin wrote: On Thursday, March 31, 2011 6:33:39 pm Alexander Best wrote: i think there are multiple issues with devstat. i found the following in devicestat.h: ... funny thing is i found the

Re: multiple issues with devstat_*(9)

2011-04-10 Thread Alexander Best
On Sun Apr 10 11, Alexander Best wrote: On Thu Apr 7 11, Alexander Motin wrote: Alexander Best wrote: On Fri Apr 1 11, John Baldwin wrote: On Thursday, March 31, 2011 6:33:39 pm Alexander Best wrote: i think there are multiple issues with devstat. i found the following in

Re: multiple issues with devstat_*(9)

2011-04-10 Thread Alexander Motin
Alexander Best wrote: On Thu Apr 7 11, Alexander Motin wrote: Alexander Best wrote: On Fri Apr 1 11, John Baldwin wrote: On Thursday, March 31, 2011 6:33:39 pm Alexander Best wrote: i think there are multiple issues with devstat. i found the following in devicestat.h: ... funny thing is

Re: multiple issues with devstat_*(9)

2011-04-10 Thread Alexander Best
On Sun Apr 10 11, Alexander Motin wrote: Alexander Best wrote: On Thu Apr 7 11, Alexander Motin wrote: Alexander Best wrote: On Fri Apr 1 11, John Baldwin wrote: On Thursday, March 31, 2011 6:33:39 pm Alexander Best wrote: i think there are multiple issues with devstat. i found the

Re: multiple issues with devstat_*(9)

2011-04-09 Thread Andriy Gapon
on 08/04/2011 08:51 Andriy Gapon said the following: on 07/04/2011 13:59 Alexander Motin said the following: Any objections? Or SCSI/IDE there expected to mean command set? Sorry for saying something potentially stupid, but... do we actually have any reason to make that distinction from any

Re: multiple issues with devstat_*(9)

2011-04-07 Thread Alexander Motin
Alexander Best wrote: On Fri Apr 1 11, John Baldwin wrote: On Thursday, March 31, 2011 6:33:39 pm Alexander Best wrote: i think there are multiple issues with devstat. i found the following in devicestat.h: ... funny thing is i found the following in scsi_pass.c:

Re: multiple issues with devstat_*(9)

2011-04-07 Thread Andriy Gapon
on 07/04/2011 13:59 Alexander Motin said the following: Any objections? Or SCSI/IDE there expected to mean command set? Sorry for saying something potentially stupid, but... do we actually have any reason to make that distinction from any practical point? -- Andriy Gapon

Re: multiple issues with devstat_*(9)

2011-04-06 Thread Alexander Motin
John Baldwin wrote: On Monday, April 04, 2011 4:43:16 pm Alexander Best wrote: On Fri Apr 1 11, John Baldwin wrote: This is probably due to the hard drives being IDE (really ATA) rather than SCSI. I agree this should show the pass devices. h...one could argue. the drives are ATA,

Re: multiple issues with devstat_*(9)

2011-04-04 Thread Alexander Best
On Fri Apr 1 11, John Baldwin wrote: On Thursday, March 31, 2011 6:33:39 pm Alexander Best wrote: hi there, i think there are multiple issues with devstat. i found the following in devicestat.h: /* * These types are intended to aid statistics gathering/display programs. * The

Re: multiple issues with devstat_*(9)

2011-04-04 Thread John Baldwin
On Monday, April 04, 2011 4:43:16 pm Alexander Best wrote: On Fri Apr 1 11, John Baldwin wrote: This is probably due to the hard drives being IDE (really ATA) rather than SCSI. I agree this should show the pass devices. h...one could argue. the drives are ATA, however they are being

Re: multiple issues with devstat_*(9)

2011-04-01 Thread John Baldwin
On Thursday, March 31, 2011 6:33:39 pm Alexander Best wrote: hi there, i think there are multiple issues with devstat. i found the following in devicestat.h: /* * These types are intended to aid statistics gathering/display programs. * The first 13 types (up to the 'target' flag) are