Initial import from FreeBSD RELENG_4:
[dragonfly.git] / sys / dev / raid / vinum / statetexts.h
1 /* Created by ./makestatetext on Wed Jan 5 10:05:30 CST 2000. Do not edit */
2
3 /*-
4  * Copyright (c) 1997, 1998
5  *      Nan Yang Computer Services Limited.  All rights reserved.
6  *
7  *  This software is distributed under the so-called ``Berkeley
8  *  License'':
9  *
10  * Redistribution and use in source and binary forms, with or without
11  * modification, are permitted provided that the following conditions
12  * are met:
13  * 1. Redistributions of source code must retain the above copyright
14  *    notice, this list of conditions and the following disclaimer.
15  * 2. Redistributions in binary form must reproduce the above copyright
16  *    notice, this list of conditions and the following disclaimer in the
17  *    documentation and/or other materials provided with the distribution.
18  * 3. All advertising materials mentioning features or use of this software
19  *    must display the following acknowledgement:
20  *      This product includes software developed by Nan Yang Computer
21  *      Services Limited.
22  * 4. Neither the name of the Company nor the names of its contributors
23  *    may be used to endorse or promote products derived from this software
24  *    without specific prior written permission.
25  *
26  * This software is provided ``as is'', and any express or implied
27  * warranties, including, but not limited to, the implied warranties of
28  * merchantability and fitness for a particular purpose are disclaimed.
29  * In no event shall the company or contributors be liable for any
30  * direct, indirect, incidental, special, exemplary, or consequential
31  * damages (including, but not limited to, procurement of substitute
32  * goods or services; loss of use, data, or profits; or business
33  * interruption) however caused and on any theory of liability, whether
34  * in contract, strict liability, or tort (including negligence or
35  * otherwise) arising in any way out of the use of this software, even if
36  * advised of the possibility of such damage.
37  *
38  * $FreeBSD: src/sys/dev/vinum/statetexts.h,v 1.9 2000/02/29 06:07:01 grog Exp $
39  */
40
41 /* Drive state texts */
42 char *drivestatetext[] =
43 {
44     "unallocated",
45     "referenced",
46     "down",
47     "up",
48 };
49
50 /* Subdisk state texts */
51 char *sdstatetext[] =
52 {
53     "unallocated",
54     "uninit",
55     "referenced",
56     "init",
57     "empty",
58     "initializing",
59     "initialized",
60     "obsolete",
61     "stale",
62     "crashed",
63     "down",
64     "reviving",
65     "reborn",
66     "up",
67 };
68
69 /* Plex state texts */
70 char *plexstatetext[] =
71 {
72     "unallocated",
73     "referenced",
74     "init",
75     "faulty",
76     "down",
77     "initializing",
78     "corrupt",
79     "degraded",
80     "flaky",
81     "up",
82 };
83
84 /* Volume state texts */
85 char *volstatetext[] =
86 {
87     "unallocated",
88     "uninit",
89     "down",
90     "up",
91 };