Date: Wed, 17 Aug 2011 17:04:04 +0000 From: oleksandr@FreeBSD.org To: svn-soc-all@FreeBSD.org Subject: socsvn commit: r225203 - soc2011/oleksandr/oleksandr-head/head/share/man/man9 Message-ID: <20110817170404.E200D1065679@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: oleksandr Date: Wed Aug 17 17:04:04 2011 New Revision: 225203 URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=225203 Log: Review man for devstat(9) Modified: soc2011/oleksandr/oleksandr-head/head/share/man/man9/devstat.9 Modified: soc2011/oleksandr/oleksandr-head/head/share/man/man9/devstat.9 ============================================================================== --- soc2011/oleksandr/oleksandr-head/head/share/man/man9/devstat.9 Wed Aug 17 15:45:40 2011 (r225202) +++ soc2011/oleksandr/oleksandr-head/head/share/man/man9/devstat.9 Wed Aug 17 17:04:04 2011 (r225203) @@ -391,15 +391,20 @@ Statistics of disk errors determined by the following parameters: .Bd -literal -offset indent typedef enum { - DEVSTAT_ERROR_RETRIABLE = 0x01, - DEVSTAT_ERROR_NON_RETRIABLE = 0x02, - DEVSTAT_ERROR_READ_ERROR = 0x04, - DEVSTAT_ERROR_WRITE_ERROR = 0x08, - DEVSTAT_ERROR_OTHER_ERROR = 0x10 + DEVSTAT_ERROR_RETRIABLE = 0x001, + DEVSTAT_ERROR_NON_RETRIABLE = 0x002, + DEVSTAT_ERROR_READ_ERROR = 0x004, + DEVSTAT_ERROR_WRITE_ERROR = 0x008, + DEVSTAT_ERROR_OTHER_ERROR = 0x010, + DEVSTAT_ERROR_RECOVERABLE = 0x020, + DEVSTAT_ERROR_NOT_READY = 0x040, + DEVSTAT_ERROR_MEDIA_ERROR = 0x080, + DEVSTAT_ERROR_HARDWARE = 0x100, + DEVSTAT_ERROR_ILLEGAL_REQ = 0x200 } devstat_error_flags; .Ed .Pp -The number of disk errors recorded in the field of the structure +The number of disk errors recorded into the field of the structure .Nm devstat_device_error. It looks: .Bd -literal -offset indent @@ -409,6 +414,11 @@ int read_error; int write_error; int other_error; + int recoverable; + int not_ready; + int media_error; + int hardware; + int illegal_req; } devstat_device_error; .Ed .Pp
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110817170404.E200D1065679>