summaryrefslogtreecommitdiffstats
path: root/mdadm.c
diff options
context:
space:
mode:
authorNeil Brown <neilb@suse.de>2006-05-23 04:57:04 +0000
committerNeil Brown <neilb@suse.de>2006-05-23 04:57:04 +0000
commitc4f12c134069e191b08074b4ed7ba689d0827d11 (patch)
tree292b9970ee244976b9ba1218c0bd1314532611f9 /mdadm.c
parente5eac01f3d52ceb932445f90c0aaa86f244e26e7 (diff)
downloadmdadm-c4f12c134069e191b08074b4ed7ba689d0827d11.tar.gz
mdadm-c4f12c134069e191b08074b4ed7ba689d0827d11.tar.xz
mdadm-c4f12c134069e191b08074b4ed7ba689d0827d11.zip
Allow --update=name to update the name during assembly.
Signed-off-by: Neil Brown <neilb@suse.de>
Diffstat (limited to 'mdadm.c')
-rw-r--r--mdadm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mdadm.c b/mdadm.c
index 880fa94..42fcf07 100644
--- a/mdadm.c
+++ b/mdadm.c
@@ -566,6 +566,8 @@ int main(int argc, char *argv[])
continue;
if (strcmp(update, "uuid")==0)
continue;
+ if (strcmp(update, "name")==0)
+ continue;
if (strcmp(update, "byteorder")==0) {
if (ss) {
fprintf(stderr, Name ": must not set metadata type with --update=byteorder.\n");