summaryrefslogtreecommitdiff
path: root/mdadm.h
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2013-05-15 11:03:25 +1000
committerNeilBrown <neilb@suse.de>2013-05-15 11:03:25 +1000
commiteca944fa9ca52b24d0aa4d1034066bbd148e529a (patch)
tree79cb8cf17254de953ea67aaafa5e5e2790cb0ea7 /mdadm.h
parent83785d301f83fbda9912446b6bd714f0f82f711b (diff)
create_mddev: add support for /dev/md_XXX non-numeric names.
With the 'devnm' infrastructure fixed, it is quite easy to support names like "md_home" for md arrays. The currently defaults to "off" and can be enabled in mdadm.conf with CREATE names=yes This is incase other tools get confused by the new names. Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'mdadm.h')
-rw-r--r--mdadm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/mdadm.h b/mdadm.h
index c7b5183b..3139259d 100644
--- a/mdadm.h
+++ b/mdadm.h
@@ -257,6 +257,7 @@ struct createinfo {
int autof;
int mode;
int symlinks;
+ int names;
struct supertype *supertype;
};