kern/81496: acd (atapicd) device lacks devstat

Andriy Gapon avg at icyb.net.ua
Thu May 26 09:00:12 PDT 2005


The following reply was made to PR kern/81496; it has been noted by GNATS.

From: Andriy Gapon <avg at icyb.net.ua>
To: Poul-Henning Kamp <phk at phk.freebsd.dk>
Cc: freebsd-gnats-submit at FreeBSD.org
Subject: Re: kern/81496: acd (atapicd) device lacks devstat
Date: Thu, 26 May 2005 18:53:57 +0300

 on 26.05.2005 18:31 Poul-Henning Kamp said the following:
 > In message <200505261152.j4QBqFEV082234 at www.freebsd.org>, Andriy Gapon writes:
 > 
 > 
 > Use the gstat(8) program instead.
 > 
 
 Poul-Henning,
 
 here's an output from gstat while copying a file from a UDF filesystem
 on acd0 to a filesystem on ad0s1f (5.4-release, atapicam is present in
 the kernel):
 
 dT: 0.501  flag_I 500000us  sizeof 240  i -1
  L(q)  ops/s    r/s   kBps   ms/r    w/s   kBps   ms/w   %busy Name
     0     22      0      0    0.0     22   2811    1.5    3.3| ad0
     0     22      0      0    0.0     22   2811    1.5    3.3| ad0s1
     0      0      0      0    0.0      0      0    0.0    0.0| acd0
     0      0      0      0    0.0      0      0    0.0    0.0| acd0t01
     0      0      0      0    0.0      0      0    0.0    0.0| ad0s1a
     0      0      0      0    0.0      0      0    0.0    0.0| ad0s1b
     0      0      0      0    0.0      0      0    0.0    0.0| ad0s1c
     0      0      0      0    0.0      0      0    0.0    0.0| ad0s1d
     0      0      0      0    0.0      0      0    0.0    0.0| ad0s1e
     0     22      0      0    0.0     22   2811    1.5    3.4| ad0s1f
     0      0      0      0    0.0      0      0    0.0    0.0| acd1
     1     44     44   2811   22.5      0      0    0.0   99.1| cd0
     0      0      0      0    0.0      0      0    0.0    0.0| acd1t01
     0      0      0      0    0.0      0      0    0.0    0.0| cd1
 
 
 I am not sure why acd0 got all zeros.
 
 Anyway, even if gstat should work perfectly for acd, I think it is no
 reason to have iostat/systat incomplete. Also, a reference to gstat(8)
 in iostat(8) and systat(1) would be nice too.
 
 Btw, is it a bug or a feature that gstat requires root privileges ? -
 iostat/systat can be run as a regualr user:
 gstat: geom_stats_open(): Permission denied
 
 -- 
 Andriy Gapon


More information about the freebsd-bugs mailing list