mirror of
https://github.com/koverstreet/bcachefs-tools.git
synced 2025-03-10 00:00:04 +03:00
Add device index to show-super
This commit is contained in:
parent
9fce394ca6
commit
0e05fa6dfe
@ -733,6 +733,7 @@ void bch2_sb_print(struct bch_sb *sb, bool print_layout,
|
|||||||
|
|
||||||
printf("External UUID: %s\n"
|
printf("External UUID: %s\n"
|
||||||
"Internal UUID: %s\n"
|
"Internal UUID: %s\n"
|
||||||
|
"Device index: %u\n"
|
||||||
"Label: %s\n"
|
"Label: %s\n"
|
||||||
"Version: %llu\n"
|
"Version: %llu\n"
|
||||||
"Created: %s\n"
|
"Created: %s\n"
|
||||||
@ -764,6 +765,7 @@ void bch2_sb_print(struct bch_sb *sb, bool print_layout,
|
|||||||
"Superblock size: %llu\n",
|
"Superblock size: %llu\n",
|
||||||
user_uuid_str,
|
user_uuid_str,
|
||||||
internal_uuid_str,
|
internal_uuid_str,
|
||||||
|
sb->dev_idx,
|
||||||
label,
|
label,
|
||||||
le64_to_cpu(sb->version),
|
le64_to_cpu(sb->version),
|
||||||
time_str,
|
time_str,
|
||||||
|
Loading…
Reference in New Issue
Block a user