aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/mdioctl.h
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>1995-03-11 09:32:45 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>1995-03-11 09:32:45 +0000
commit5511b2e4f33d13214a604ea0eef7783b5e339764 (patch)
tree2a38cbf6eb14fc0d0f84e6794f21bd8cb380f455 /sys/sys/mdioctl.h
parentc6bc11c2f6e7fda63ee45e28d1282cd3c5399ad8 (diff)
downloadsrc-5511b2e4f33d13214a604ea0eef7783b5e339764.tar.gz
src-5511b2e4f33d13214a604ea0eef7783b5e339764.zip
A substantial change to the way this works. Not the "TEST_LABELING" is
a option you can turn on and of on the fly, as is debugging.
Notes
Notes: svn path=/head/; revision=6998
Diffstat (limited to 'sys/sys/mdioctl.h')
-rw-r--r--sys/sys/mdioctl.h14
1 files changed, 12 insertions, 2 deletions
diff --git a/sys/sys/mdioctl.h b/sys/sys/mdioctl.h
index ace82eea435c..1df5502ff9ae 100644
--- a/sys/sys/mdioctl.h
+++ b/sys/sys/mdioctl.h
@@ -57,5 +57,15 @@ struct vn_ioctl {
* an VNIOCCLR must be used to reset a configuration. An attempt to
* VNIOCSET an already active unit will return EBUSY.
*/
-#define VNIOCSET _IOWR('F', 0, struct vn_ioctl) /* enable disk */
-#define VNIOCCLR _IOW('F', 1, struct vn_ioctl) /* disable disk */
+#define VNIOCATTACH _IOWR('F', 0, struct vn_ioctl) /* attach file */
+#define VNIOCDETACH _IOWR('F', 1, struct vn_ioctl) /* detach disk */
+#define VNIOCGSET _IOWR('F', 2, u_long ) /* set global option */
+#define VNIOCGCLEAR _IOWR('F', 3, u_long ) /* reset --//-- */
+#define VNIOCUSET _IOWR('F', 4, u_long ) /* set unit option */
+#define VNIOCUCLEAR _IOWR('F', 5, u_long ) /* reset --//-- */
+
+#define VN_LABELS 0x1 /* Use disk(/slice) labels */
+#define VN_FOLLOW 0x2 /* Debug flow in vn driver */
+#define VN_DEBUG 0x4 /* Debug data in vn driver */
+#define VN_IO 0x8 /* Debug I/O in vn driver */
+#define VN_DONTCLUSTER 0x10 /* Don't cluster */