diff options
author | grog <grog@FreeBSD.org> | 2003-05-04 05:15:32 +0000 |
---|---|---|
committer | grog <grog@FreeBSD.org> | 2003-05-04 05:15:32 +0000 |
commit | cfcc0b70acf4c704ff7e96404e33042f70edbc9f (patch) | |
tree | 39939fd9357feeefde1acc73c187d313b8bbe416 /sys/dev/vinum | |
parent | 2e6dc6c5e4b8a56105451ddb9b7ec9e702610d5e (diff) | |
download | FreeBSD-src-cfcc0b70acf4c704ff7e96404e33042f70edbc9f.zip FreeBSD-src-cfcc0b70acf4c704ff7e96404e33042f70edbc9f.tar.gz |
Rewrite of startup code:
Add ioctl VINUM_READCONFIG which implements both the "read" and
"start" commands in vinum(8).
Diffstat (limited to 'sys/dev/vinum')
-rw-r--r-- | sys/dev/vinum/vinumio.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/vinum/vinumio.h b/sys/dev/vinum/vinumio.h index b180e0c..b36dcea 100644 --- a/sys/dev/vinum/vinumio.h +++ b/sys/dev/vinum/vinumio.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: vinumio.h,v 1.21 2001/05/22 07:29:23 grog Exp grog $ + * $Id: vinumio.h,v 1.22 2003/04/24 07:36:09 grog Exp $ * $FreeBSD$ */ @@ -114,8 +114,9 @@ struct vinum_rename_msg { #define VINUM_SAVECONFIG _IOW(L, 72, int) /* write config to disk */ #define VINUM_RESETCONFIG _IOC(0, L, 73, 0) /* trash config on disk */ #define VINUM_INIT _IOC(0, L, 74, 0) /* read config from disk */ +#define VINUM_READCONFIG _IOC(IOC_IN | IOC_OUT, L, 75, BUFSIZE) /* read config from disk */ #ifdef VINUMDEBUG -#define VINUM_DEBUG _IOWR(L, 75, struct debuginfo) /* call the debugger from ioctl () */ +#define VINUM_DEBUG _IOWR(L, 127, struct debuginfo) /* call the debugger from ioctl () */ #endif /* |