diff options
author | Dan Williams <dan.j.williams@intel.com> | 2008-10-28 18:55:31 +0100 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2008-10-28 18:55:31 +0100 |
commit | 71d60c480ac37a20b0b7a896a818a5f0c9c55f1a (patch) | |
tree | afdd02342e90cff0b2a58b26763f89798dc76678 /mdmon.c | |
parent | imsm: include members in ->brief_examine (diff) | |
download | mdadm-71d60c480ac37a20b0b7a896a818a5f0c9c55f1a.tar.xz mdadm-71d60c480ac37a20b0b7a896a818a5f0c9c55f1a.zip |
Preliminary -As support for container member arrays
Given an mdadm.conf like the following allow /dev/imsm and /dev/md/r1 to be
created by "mdadm -As".
DEVICES partitions
ARRAY /dev/imsm metadata=imsm auto=md UUID=b98f5dbe-aa859e7b-0e369b89-a80986d4
ARRAY /dev/md/r1 container=/dev/imsm member=0 auto=mdp UUID=3538e39c-b397c2e9-1aa031f9-2bc0eca4
spares=1
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'mdmon.c')
-rw-r--r-- | mdmon.c | 9 |
1 files changed, 0 insertions, 9 deletions
@@ -92,15 +92,6 @@ int clone_monitor(struct supertype *container) return mon_tid; } -static struct superswitch *find_metadata_methods(char *vers) -{ - if (strcmp(vers, "ddf") == 0) - return &super_ddf; - if (strcmp(vers, "imsm") == 0) - return &super_imsm; - return NULL; -} - int make_pidfile(char *devname, int o_excl) { |