diff options
author | NeilBrown <neilb@suse.de> | 2009-06-02 14:06:05 +1000 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2009-06-02 14:06:05 +1000 |
commit | e0fe762a63889495695b773ad63d329a526fa4ed (patch) | |
tree | c6308081f83ba667e1a271abccb510e2fa4a7455 /mdadm.c | |
parent | 222a7bfd2ea1696f84fa2f98196f5bdd851ac548 (diff) | |
download | mdadm-e0fe762a63889495695b773ad63d329a526fa4ed.tar.gz mdadm-e0fe762a63889495695b773ad63d329a526fa4ed.tar.xz mdadm-e0fe762a63889495695b773ad63d329a526fa4ed.zip |
mdadm.8: Man page updates
General review and update of mdadm.8
Diffstat (limited to 'mdadm.c')
-rw-r--r-- | mdadm.c | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -343,9 +343,11 @@ int main(int argc, char *argv[]) } continue; +#if 0 case O(ASSEMBLE,AutoHomeHost): auto_update_home = 1; continue; +#endif case O(INCREMENTAL, 'e'): case O(CREATE,'e'): case O(ASSEMBLE,'e'): @@ -411,7 +413,10 @@ int main(int argc, char *argv[]) optarg); exit(2); } - if (level != 0 && level != -1 && level != 1 && level != -4 && level != -5 && mode == BUILD) { + if (level != 0 && level != LEVEL_LINEAR && level != 1 && + level != LEVEL_MULTIPATH && level != LEVEL_FAULTY && + level != 10 && + mode == BUILD) { fprintf(stderr, Name ": Raid level %s not permitted with --build.\n", optarg); exit(2); @@ -1150,6 +1155,7 @@ int main(int argc, char *argv[]) } while (rv2!=2); /* Incase there are stacked devices, we need to go around again */ } while (acnt); +#if 0 if (cnt == 0 && auto_update_home && homehost) { /* Nothing found, maybe we need to bootstrap homehost info */ do { @@ -1169,6 +1175,7 @@ int main(int argc, char *argv[]) /* Incase there are stacked devices, we need to go around again */ } while (acnt); } +#endif if (cnt == 0 && rv == 0) { fprintf(stderr, Name ": No arrays found in config file or automatically\n"); rv = 1; |