diff options
author | Neil Brown <neilb@suse.de> | 2005-12-05 05:56:33 +0000 |
---|---|---|
committer | Neil Brown <neilb@suse.de> | 2005-12-05 05:56:33 +0000 |
commit | 7d99579f6a52fbf575e4707121ece51d0672277b (patch) | |
tree | 61745ca11734259875fa35139858875fb9185d79 /mdadm.c | |
parent | ee04451c56f5bc39a77515e2e51897ac1fc15104 (diff) | |
download | mdadm-7d99579f6a52fbf575e4707121ece51d0672277b.tar.gz mdadm-7d99579f6a52fbf575e4707121ece51d0672277b.tar.xz mdadm-7d99579f6a52fbf575e4707121ece51d0672277b.zip |
Support updating of uuid during --assemble.
Signed-off-by: Neil Brown <neilb@suse.de>
Diffstat (limited to 'mdadm.c')
-rw-r--r-- | mdadm.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -593,6 +593,8 @@ int main(int argc, char *argv[]) continue; if (strcmp(update, "resync")==0) continue; + if (strcmp(update, "uuid")==0) + continue; if (strcmp(update, "byteorder")==0) { if (ss) { fprintf(stderr, Name ": must not set metadata type with --update=byteorder.\n"); @@ -607,7 +609,7 @@ int main(int argc, char *argv[]) continue; } - fprintf(stderr, Name ": '--update %s' invalid. Only 'sparc2.2', 'super-minor', 'resync' or 'summaries' supported\n",update); + fprintf(stderr, Name ": '--update %s' invalid. Only 'sparc2.2', 'super-minor', 'uuid', 'resync' or 'summaries' supported\n",update); exit(2); case O(ASSEMBLE,'c'): /* config file */ |