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