Commit f1894dc
committed
btrfs-progs: mkfs: print label of existing filesystem
For better identification also print the label (if set) found on the
image when -f is not used:
$ mkfs.btrfs --label=TEST img
$ mkfs.btrfs img
ERROR: img appears to contain an existing filesystem (type=btrfs, label=TEST)
ERROR: use the -f option to force overwrite of img
Signed-off-by: David Sterba <dsterba@suse.com>1 parent 7e2ce5a commit f1894dc
1 file changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1049 | 1049 | | |
1050 | 1050 | | |
1051 | 1051 | | |
1052 | | - | |
| 1052 | + | |
| 1053 | + | |
| 1054 | + | |
| 1055 | + | |
| 1056 | + | |
| 1057 | + | |
1053 | 1058 | | |
1054 | 1059 | | |
1055 | 1060 | | |
| |||
0 commit comments