summaryrefslogtreecommitdiffstats
path: root/mdadm.c
diff options
context:
space:
mode:
authorNeil Brown <neilb@suse.de>2006-03-28 23:22:58 +0000
committerNeil Brown <neilb@suse.de>2006-03-28 23:22:58 +0000
commit6409687b554687b89700e7a907dc3fcbcf5171a2 (patch)
treeaec99649a9c006f96ae26ef7da6578bb24092b46 /mdadm.c
parente27d562bcc3936d8988a46943881e2641d3d9036 (diff)
downloadmdadm-6409687b554687b89700e7a907dc3fcbcf5171a2.tar.gz
mdadm-6409687b554687b89700e7a907dc3fcbcf5171a2.tar.xz
mdadm-6409687b554687b89700e7a907dc3fcbcf5171a2.zip
Kill old superblocks on create.
Make sure old-version superblocks are not around to confuse anything when a new array is created. Signed-off-by: Neil Brown <neilb@suse.de>
Diffstat (limited to 'mdadm.c')
-rw-r--r--mdadm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdadm.c b/mdadm.c
index b32158e..6a5fac3 100644
--- a/mdadm.c
+++ b/mdadm.c
@@ -1124,7 +1124,7 @@ int main(int argc, char *argv[])
case 'D':
rv |= Detail(dv->devname, brief?1+verbose:0, test); continue;
case 'K': /* Zero superblock */
- rv |= Kill(dv->devname, force); continue;
+ rv |= Kill(dv->devname, force, quiet); continue;
case 'Q':
rv |= Query(dv->devname); continue;
case 'X':