summaryrefslogtreecommitdiffstats
path: root/mdadm.h
diff options
context:
space:
mode:
authorDoug Ledford <dledford@redhat.com>2010-04-16 11:46:51 -0400
committerDoug Ledford <dledford@redhat.com>2010-04-16 11:46:51 -0400
commitce03f04bde040ac014c61c74d2722981f7f2e02f (patch)
tree6206cfb1e82512f1b8a1eb1671ae975f7a8bd3db /mdadm.h
parent8da2e49bcfa73c59bafe5aa51949752c524a3f69 (diff)
downloadmdadm-ce03f04bde040ac014c61c74d2722981f7f2e02f.tar.gz
mdadm-ce03f04bde040ac014c61c74d2722981f7f2e02f.tar.xz
mdadm-ce03f04bde040ac014c61c74d2722981f7f2e02f.zip
Add the table and program options for partition action and make them
a requirement. Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'mdadm.h')
-rw-r--r--mdadm.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/mdadm.h b/mdadm.h
index baf5ddd..8eb7bc7 100644
--- a/mdadm.h
+++ b/mdadm.h
@@ -305,6 +305,14 @@ struct domain_ent {
int action;
struct supertype *st;
struct domain_ent *next;
+ char *program; /* only used when action is
+ partition, this is the program
+ to call to actually partition
+ the drive */
+ char *table; /* This is the location of a file to
+ pass to the partition program,
+ used both for setting and checking
+ the partitions on drives */
};
/* structures read from config file */