diff options
-rw-r--r-- | Kill.c | 1 | ||||
-rw-r--r-- | util.c | 1 |
2 files changed, 2 insertions, 0 deletions
@@ -59,6 +59,7 @@ int Kill(char *dev, struct supertype *st, int force, int quiet, int noexcl) close(fd); return 2; } + st->ignore_hw_compat = 1; rv = st->ss->load_super(st, fd, dev); if (force && rv >= 2) rv = 0; /* ignore bad data in superblock */ @@ -535,6 +535,7 @@ int check_raid(int fd, char *name) struct supertype *st = guess_super(fd); if (!st) return 0; + st->ignore_hw_compat = 1; st->ss->load_super(st, fd, name); /* Looks like a raid array .. */ fprintf(stderr, Name ": %s appears to be part of a raid array:\n", |