summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>1999-08-10 23:08:09 +0000
committerderaadt <deraadt@openbsd.org>1999-08-10 23:08:09 +0000
commit23e7355d5d09fa64b0b5b724ac0e25c693c95cd1 (patch)
treeb7b692ae05925bbd566b60debab413933efc9f35
parenttypo (diff)
downloadwireguard-openbsd-23e7355d5d09fa64b0b5b724ac0e25c693c95cd1.tar.xz
wireguard-openbsd-23e7355d5d09fa64b0b5b724ac0e25c693c95cd1.zip
add DIOCRLDINFO ioctl: causes driver to reload the disklabel
-rw-r--r--sys/sys/dkio.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/sys/dkio.h b/sys/sys/dkio.h
index 3096a4ba9d8..0b9b84c11d2 100644
--- a/sys/sys/dkio.h
+++ b/sys/sys/dkio.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: dkio.h,v 1.3 1998/10/03 22:01:48 millert Exp $ */
+/* $OpenBSD: dkio.h,v 1.4 1999/08/10 23:08:09 deraadt Exp $ */
/* $NetBSD: dkio.h,v 1.1 1996/01/30 18:21:48 thorpej Exp $ */
/*
@@ -61,5 +61,6 @@
#define DIOCLOCK _IOW('d', 113, int) /* lock/unlock pack */
#define DIOCGPDINFO _IOR('d', 114, struct disklabel)/* get physical */
+#define DIOCRLDINFO _IO('d', 115) /* reload disklabel */
#endif /* _SYS_DKIO_H_ */