summaryrefslogtreecommitdiffstats
path: root/sys/sys/disklabel.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/sys/disklabel.h')
-rw-r--r--sys/sys/disklabel.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/sys/sys/disklabel.h b/sys/sys/disklabel.h
index 870e1a9..dde62e5 100644
--- a/sys/sys/disklabel.h
+++ b/sys/sys/disklabel.h
@@ -344,7 +344,9 @@ CTASSERT(sizeof (struct dos_partition) == 16);
#define DPCYL(c, s) ((c) + (((s) & 0xc0)<<2)) /* and those that are cylinder */
/*
- * Disk-specific ioctls.
+ * Disklabel-specific ioctls.
+ *
+ * NB: <sys/disk.h> defines ioctls from 'd'/128 and up.
*/
/* get and set disklabel */
#define DIOCGDINFO _IOR('d', 101, struct disklabel)/* get */
@@ -354,12 +356,6 @@ CTASSERT(sizeof (struct dos_partition) == 16);
#define DIOCWLABEL _IOW('d', 109, int) /* write en/disable label */
-#define DIOCGSECTORSIZE _IOR('d', 128, u_int) /* Get sector size in bytes */
-#define DIOCGMEDIASIZE _IOR('d', 129, off_t) /* Get media size in bytes */
-#define DIOCGFWSECTORS _IOR('d', 130, u_int) /* Get firmware sectorcount */
-#define DIOCGFWHEADS _IOR('d', 131, u_int) /* Get firmware headcount */
-#define DIOCGKERNELDUMP _IOW('d', 133, u_int) /* Set/Clear kernel dumps */
-
#ifdef __alpha__
struct disklabel_alphahack {
struct disklabel dl;
OpenPOWER on IntegriCloud