~ubuntu-branches/ubuntu/hardy/mdadm/hardy-updates

« back to all changes in this revision

Viewing changes to md_u.h

  • Committer: Package Import Robot
  • Author(s): Scott James Remnant
  • Date: 2006-07-11 17:23:21 UTC
  • mfrom: (1.1.4)
  • Revision ID: package-import@ubuntu.com-20060711172321-070tz7lox9adujtw
Tags: 2.4.1-6ubuntu1
* Merge from debian unstable, remaining changes:
  - integration with initramfs-tools,
  - autocreate devices when udev is in use,
  - use lstat in mdopen.

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
#define GET_DISK_INFO           _IOR (MD_MAJOR, 0x12, mdu_disk_info_t)
24
24
#define PRINT_RAID_DEBUG        _IO (MD_MAJOR, 0x13)
25
25
#define RAID_AUTORUN            _IO (MD_MAJOR, 0x14)
 
26
#define GET_BITMAP_FILE         _IOR (MD_MAJOR, 0x15, mdu_bitmap_file_t)
26
27
 
27
28
/* configuration */
28
29
#define CLEAR_ARRAY             _IO (MD_MAJOR, 0x20)
35
36
#define PROTECT_ARRAY           _IO (MD_MAJOR, 0x27)
36
37
#define HOT_ADD_DISK            _IO (MD_MAJOR, 0x28)
37
38
#define SET_DISK_FAULTY         _IO (MD_MAJOR, 0x29)
 
39
#define SET_BITMAP_FILE         _IOW (MD_MAJOR, 0x2b, int)
38
40
 
39
41
/* usage */
40
42
#define RUN_ARRAY               _IOW (MD_MAJOR, 0x30, mdu_param_t)
105
107
 
106
108
} mdu_start_info_t;
107
109
 
 
110
typedef struct mdu_bitmap_file_s
 
111
{
 
112
        char pathname[4096];
 
113
} mdu_bitmap_file_t;
 
114
 
108
115
typedef struct mdu_param_s
109
116
{
110
117
        int                     personality;    /* 1,2,3,4 */