libdevstat - add "xa"
authorMatthew Dillon <dillon@apollo.backplane.com>
Sun, 1 Mar 2015 19:40:13 +0000 (11:40 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sun, 1 Mar 2015 19:40:13 +0000 (11:40 -0800)
* Add a match line for "xa" (xdisk) devices.

lib/libdevstat/devstat.c

index 983675e..b8f1f90 100644 (file)
@@ -49,6 +49,7 @@ char devstat_errbuf[DEVSTAT_ERRBUF_SIZE];
  */
 struct devstat_match_table match_table[] = {
        {"da",          DEVSTAT_TYPE_DIRECT,    DEVSTAT_MATCH_TYPE},
+       {"xa",          DEVSTAT_TYPE_DIRECT,    DEVSTAT_MATCH_TYPE},
        {"cd",          DEVSTAT_TYPE_CDROM,     DEVSTAT_MATCH_TYPE},
        {"scsi",        DEVSTAT_TYPE_IF_SCSI,   DEVSTAT_MATCH_IF},
        {"ide",         DEVSTAT_TYPE_IF_IDE,    DEVSTAT_MATCH_IF},