diff options
author | phk <phk@FreeBSD.org> | 2002-04-23 19:54:02 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2002-04-23 19:54:02 +0000 |
commit | 4ca7562a616825af16d39e04c933c3e66f5a484d (patch) | |
tree | d98d149d2c39244eedf2ae44b65577954046c836 /sys/geom/geom.h | |
parent | 7bef5a6e99f99634b004f29895f8da28f952e212 (diff) | |
download | FreeBSD-src-4ca7562a616825af16d39e04c933c3e66f5a484d.zip FreeBSD-src-4ca7562a616825af16d39e04c933c3e66f5a484d.tar.gz |
Implement the GEOMGETCONF ioctl which returns vital stats for the
current device in XML in an sbuf.
Sponsored by: DARPA & NAI Labs
Diffstat (limited to 'sys/geom/geom.h')
-rw-r--r-- | sys/geom/geom.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/geom/geom.h b/sys/geom/geom.h index d707a34..ab99c50 100644 --- a/sys/geom/geom.h +++ b/sys/geom/geom.h @@ -42,6 +42,8 @@ #include <sys/mutex.h> #include <sys/sx.h> #include <sys/queue.h> +#include <sys/ioccom.h> +#include <sys/sbuf.h> #ifndef _KERNEL /* @@ -284,4 +286,6 @@ extern struct sx topology_lock; #endif /* _KERNEL */ +#define GEOMGETCONF _IOWR('G', 0, struct sbuf) + #endif /* _GEOM_GEOM_H_ */ |