diff options
author | grog <grog@FreeBSD.org> | 1999-03-28 08:52:11 +0000 |
---|---|---|
committer | grog <grog@FreeBSD.org> | 1999-03-28 08:52:11 +0000 |
commit | fe2c874b37c495ac8b2df274a7ea54a5d2c10c2b (patch) | |
tree | acfa1cde73b33ec0477f6ec3cb62cb0f0c7fbfef | |
parent | 26a13371a7948aa1fed8d23ed94af5f6bda32e71 (diff) | |
download | FreeBSD-src-fe2c874b37c495ac8b2df274a7ea54a5d2c10c2b.zip FreeBSD-src-fe2c874b37c495ac8b2df274a7ea54a5d2c10c2b.tar.gz |
Add 'referenced' states to subdisks and plexes.
-rw-r--r-- | sys/dev/vinum/statetexts.h | 4 | ||||
-rw-r--r-- | sys/dev/vinum/vinumstate.h | 7 |
2 files changed, 9 insertions, 2 deletions
diff --git a/sys/dev/vinum/statetexts.h b/sys/dev/vinum/statetexts.h index 0b13279..c932c93 100644 --- a/sys/dev/vinum/statetexts.h +++ b/sys/dev/vinum/statetexts.h @@ -35,7 +35,7 @@ * */ -/* Created by ./makestatetext on Sun Feb 28 15:28:55 CST 1999. Do not edit */ +/* Created by ./makestatetext on Thu Mar 25 12:50:46 CST 1999. Do not edit */ /* Drive state texts */ char *drivestatetext[] = @@ -51,6 +51,7 @@ char *sdstatetext[] = { "unallocated", "uninit", + "referenced", "init", "empty", "initializing", @@ -67,6 +68,7 @@ char *sdstatetext[] = char *plexstatetext[] = { "unallocated", + "referenced", "init", "faulty", "down", diff --git a/sys/dev/vinum/vinumstate.h b/sys/dev/vinum/vinumstate.h index d456681..6f49d20 100644 --- a/sys/dev/vinum/vinumstate.h +++ b/sys/dev/vinum/vinumstate.h @@ -33,7 +33,7 @@ * otherwise) arising in any way out of the use of this software, even if * advised of the possibility of such damage. * - * $Id: vinumstate.h,v 1.12 1998/12/30 01:31:52 grog Exp grog $ + * $Id: vinumstate.h,v 1.13 1999/02/28 04:58:47 grog Exp grog $ */ /* @@ -60,6 +60,8 @@ enum plexstate { /* An empty entry, not a plex at all. */ plex_unallocated, + /* The plex has been referenced by a volume */ + plex_referenced, /* * The plex has been allocated, but there configuration * is not complete @@ -131,6 +133,9 @@ enum sdstate { */ sd_uninit, + /* The subdisk has been referenced by a plex */ + sd_referenced, + /* * A subdisk entry which has been created completely. * All fields are correct, but the disk hasn't |