diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1998-10-03 22:01:49 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1998-10-03 22:01:49 +0000 |
commit | 8b55bcf0021cb7786125a57c11a8f840a3089a9a (patch) | |
tree | c5b7bd76e7395aa32a6f3f5cb08aca2362caff33 /sys | |
parent | 2847382ad0f79d42676104f5b99c1b14a78a5b90 (diff) |
Add DIOCGPDINFO ioctl and use it in disklabel's new -p mode
Diffstat (limited to 'sys')
-rw-r--r-- | sys/sys/dkio.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/sys/dkio.h b/sys/sys/dkio.h index 2405f1bc627..3096a4ba9d8 100644 --- a/sys/sys/dkio.h +++ b/sys/sys/dkio.h @@ -1,4 +1,4 @@ -/* $OpenBSD: dkio.h,v 1.2 1996/03/03 12:11:35 niklas Exp $ */ +/* $OpenBSD: dkio.h,v 1.3 1998/10/03 22:01:48 millert Exp $ */ /* $NetBSD: dkio.h,v 1.1 1996/01/30 18:21:48 thorpej Exp $ */ /* @@ -60,4 +60,6 @@ #define DIOCEJECT _IO('d', 112) /* eject removable disk */ #define DIOCLOCK _IOW('d', 113, int) /* lock/unlock pack */ +#define DIOCGPDINFO _IOR('d', 114, struct disklabel)/* get physical */ + #endif /* _SYS_DKIO_H_ */ |