mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-22 16:44:32 +01:00
attach command: allow attaching striped or parity plexes if the -f
option is given. This will break the data in the plex.
This commit is contained in:
parent
b334e16698
commit
abda606acd
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=61159
@ -962,7 +962,8 @@ vinum_attach(int argc, char *argv[], char *argv0[])
|
||||
fprintf(stderr, "%s can only be attached to a plex\n", objname);
|
||||
return;
|
||||
}
|
||||
if (plex.organization != plex_concat) { /* not a cat plex, */
|
||||
if ((plex.organization != plex_concat) /* not a cat plex, */
|
||||
&&(!force)) {
|
||||
fprintf(stderr, "Can't attach subdisks to a %s plex\n", plex_org(plex.organization));
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user