summaryrefslogtreecommitdiffstats
path: root/mdadm.h
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2012-07-09 09:14:17 +0200
committerNeilBrown <neilb@suse.de>2012-07-09 09:14:17 +0200
commit72d566f68d495261608a900b2d8cb8d037cd9178 (patch)
treed960093c9a46d85258fda0cd741caa35c94ae061 /mdadm.h
parentAssemble: allow arrays to be assembled read-only. (diff)
downloadmdadm-72d566f68d495261608a900b2d8cb8d037cd9178.tar.xz
mdadm-72d566f68d495261608a900b2d8cb8d037cd9178.zip
Create: support --readonly flag.
Allow array to be created read-only Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to '')
-rw-r--r--mdadm.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/mdadm.h b/mdadm.h
index f96ac7b1..564b5105 100644
--- a/mdadm.h
+++ b/mdadm.h
@@ -1085,10 +1085,12 @@ extern int Build(char *mddev, int chunk, int level, int layout,
extern int Create(struct supertype *st, char *mddev,
- int chunk, int level, int layout, unsigned long long size, int raiddisks, int sparedisks,
+ int chunk, int level, int layout, unsigned long long size,
+ int raiddisks, int sparedisks,
char *name, char *homehost, int *uuid,
int subdevs, struct mddev_dev *devlist,
- int runstop, int verbose, int force, int assume_clean,
+ int runstop, int readonly, int verbose,
+ int force, int assume_clean,
char *bitmap_file, int bitmap_chunk, int write_behind, int delay, int autof);
extern int Detail(char *dev, int brief, int export, int test, char *homehost, char *prefer);