kern/81496: acd (atapicd) device lacks devstat
Poul-Henning Kamp
phk at phk.freebsd.dk
Thu May 26 09:10:06 PDT 2005
The following reply was made to PR kern/81496; it has been noted by GNATS.
From: "Poul-Henning Kamp" <phk at phk.freebsd.dk>
To: Andriy Gapon <avg at icyb.net.ua>
Cc: freebsd-gnats-submit at FreeBSD.org
Subject: Re: kern/81496: acd (atapicd) device lacks devstat
Date: Thu, 26 May 2005 18:09:25 +0200
In message <4295F115.4050301 at icyb.net.ua>, Andriy Gapon writes:
>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.
Because you use atapi-cam and /dev/cd0 ?
>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.
Yeah, I think it is point 1032 on my todo list :-(
>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
That's probably a bug.
--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
More information about the freebsd-bugs
mailing list