summaryrefslogtreecommitdiffstats
path: root/sys/sys/mdioctl.h
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1995-03-11 09:32:45 +0000
committerphk <phk@FreeBSD.org>1995-03-11 09:32:45 +0000
commit2269686ee1f326bebf3b6140f00f55cebe9cec4e (patch)
tree2a38cbf6eb14fc0d0f84e6794f21bd8cb380f455 /sys/sys/mdioctl.h
parentbf749b932cc994dab8c2931aad49aaa58eb395e8 (diff)
downloadFreeBSD-src-2269686ee1f326bebf3b6140f00f55cebe9cec4e.zip
FreeBSD-src-2269686ee1f326bebf3b6140f00f55cebe9cec4e.tar.gz
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.
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 ace82ee..1df5502 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 */
OpenPOWER on IntegriCloud