diff options
Diffstat (limited to 'cmd_format.c')
-rw-r--r-- | cmd_format.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cmd_format.c b/cmd_format.c index 9feb3345..26a1cd9f 100644 --- a/cmd_format.c +++ b/cmd_format.c @@ -219,6 +219,9 @@ int cmd_format(int argc, char *argv[]) break; } + if (opts.version != bcachefs_metadata_version_current) + initialize = false; + if (!devices.nr) die("Please supply a device"); |