MD_MAJOR 21 include/linux/raid/md_u.h #define RAID_VERSION _IOR (MD_MAJOR, 0x10, mdu_version_t) MD_MAJOR 22 include/linux/raid/md_u.h #define GET_ARRAY_INFO _IOR (MD_MAJOR, 0x11, mdu_array_info_t) MD_MAJOR 23 include/linux/raid/md_u.h #define GET_DISK_INFO _IOR (MD_MAJOR, 0x12, mdu_disk_info_t) MD_MAJOR 24 include/linux/raid/md_u.h #define PRINT_RAID_DEBUG _IO (MD_MAJOR, 0x13) MD_MAJOR 25 include/linux/raid/md_u.h #define RAID_AUTORUN _IO (MD_MAJOR, 0x14) MD_MAJOR 26 include/linux/raid/md_u.h #define GET_BITMAP_FILE _IOR (MD_MAJOR, 0x15, mdu_bitmap_file_t) MD_MAJOR 29 include/linux/raid/md_u.h #define CLEAR_ARRAY _IO (MD_MAJOR, 0x20) MD_MAJOR 30 include/linux/raid/md_u.h #define ADD_NEW_DISK _IOW (MD_MAJOR, 0x21, mdu_disk_info_t) MD_MAJOR 31 include/linux/raid/md_u.h #define HOT_REMOVE_DISK _IO (MD_MAJOR, 0x22) MD_MAJOR 32 include/linux/raid/md_u.h #define SET_ARRAY_INFO _IOW (MD_MAJOR, 0x23, mdu_array_info_t) MD_MAJOR 33 include/linux/raid/md_u.h #define SET_DISK_INFO _IO (MD_MAJOR, 0x24) MD_MAJOR 34 include/linux/raid/md_u.h #define WRITE_RAID_INFO _IO (MD_MAJOR, 0x25) MD_MAJOR 35 include/linux/raid/md_u.h #define UNPROTECT_ARRAY _IO (MD_MAJOR, 0x26) MD_MAJOR 36 include/linux/raid/md_u.h #define PROTECT_ARRAY _IO (MD_MAJOR, 0x27) MD_MAJOR 37 include/linux/raid/md_u.h #define HOT_ADD_DISK _IO (MD_MAJOR, 0x28) MD_MAJOR 38 include/linux/raid/md_u.h #define SET_DISK_FAULTY _IO (MD_MAJOR, 0x29) MD_MAJOR 39 include/linux/raid/md_u.h #define HOT_GENERATE_ERROR _IO (MD_MAJOR, 0x2a) MD_MAJOR 40 include/linux/raid/md_u.h #define SET_BITMAP_FILE _IOW (MD_MAJOR, 0x2b, int) MD_MAJOR 43 include/linux/raid/md_u.h #define RUN_ARRAY _IOW (MD_MAJOR, 0x30, mdu_param_t) MD_MAJOR 45 include/linux/raid/md_u.h #define STOP_ARRAY _IO (MD_MAJOR, 0x32) MD_MAJOR 46 include/linux/raid/md_u.h #define STOP_ARRAY_RO _IO (MD_MAJOR, 0x33) MD_MAJOR 47 include/linux/raid/md_u.h #define RESTART_ARRAY_RW _IO (MD_MAJOR, 0x34) MD_MAJOR 138 init/do_mounts_md.c dev = MKDEV(MD_MAJOR, minor); MD_MAJOR 295 init/do_mounts_md.c create_dev("/dev/md0", MKDEV(MD_MAJOR, 0));