aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/mdioctl.h
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2003-03-03 13:05:00 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2003-03-03 13:05:00 +0000
commitebe789d61c70e3c9dc31441e9d59f051b40ba30b (patch)
treeebeb4dc8a6258d6e27bf80318a7c535c404b73c1 /sys/sys/mdioctl.h
parenta8b182112da70fe234189b384a13d8f3bcb36731 (diff)
downloadsrc-ebe789d61c70e3c9dc31441e9d59f051b40ba30b.tar.gz
src-ebe789d61c70e3c9dc31441e9d59f051b40ba30b.zip
Add a "-S sectorsize" option to enable Kirk to find a bug :-)
Notes
Notes: svn path=/head/; revision=111818
Diffstat (limited to 'sys/sys/mdioctl.h')
-rw-r--r--sys/sys/mdioctl.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/sys/mdioctl.h b/sys/sys/mdioctl.h
index 15a70e138def..89b95221f89c 100644
--- a/sys/sys/mdioctl.h
+++ b/sys/sys/mdioctl.h
@@ -53,7 +53,7 @@ enum md_types {MD_MALLOC, MD_PRELOAD, MD_VNODE, MD_SWAP};
* Ioctl definitions for memory disk pseudo-device.
*/
-#define MDNPAD 100
+#define MDNPAD 99
struct md_ioctl {
unsigned md_version; /* Structure layout version */
unsigned md_unit; /* unit number */
@@ -62,6 +62,7 @@ struct md_ioctl {
unsigned md_size; /* size of disk in DEV_BSIZE units */
unsigned md_options; /* options */
u_int64_t md_base; /* base address */
+ int md_secsize; /* sectorsize */
int md_pad[MDNPAD]; /* padding for future ideas */
};