1 /****************************************************************************
2 ****************************************************************************
4 *** This header was automatically generated from a Linux kernel header
5 *** of the same name, to make information necessary for userspace to
6 *** call into the kernel available to libc. It contains only constants,
7 *** structures, and macros generated from the original header, and thus,
8 *** contains no copyrightable information.
10 ****************************************************************************
11 ****************************************************************************/
12 #ifndef _LINUX_BLKPG_H
13 #define _LINUX_BLKPG_H
15 #include <linux/compiler.h>
16 #include <linux/ioctl.h>
18 #define BLKPG _IO(0x12,105)
20 struct blkpg_ioctl_arg {
27 #define BLKPG_ADD_PARTITION 1
28 #define BLKPG_DEL_PARTITION 2
30 #define BLKPG_DEVNAMELTH 64
31 #define BLKPG_VOLNAMELTH 64
33 struct blkpg_partition {
37 char devname[BLKPG_DEVNAMELTH];
38 char volname[BLKPG_VOLNAMELTH];