diff options
author | NeilBrown <neilb@suse.de> | 2012-07-09 09:14:17 +0200 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2012-07-09 09:14:17 +0200 |
commit | 72d566f68d495261608a900b2d8cb8d037cd9178 (patch) | |
tree | d960093c9a46d85258fda0cd741caa35c94ae061 /mdadm.h | |
parent | Assemble: allow arrays to be assembled read-only. (diff) | |
download | mdadm-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.h | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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); |