diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2021-01-26 20:48:58 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@gmail.com> | 2021-01-26 20:48:58 -0500 |
commit | 0e05fa6dfeea10f687c2072889c73b87f8ef5218 (patch) | |
tree | d1579734ab98e0dc5b917f2190c3d3ea617d3ced | |
parent | 9fce394ca6d0082ced3612a627cd16e06d84244a (diff) |
Add device index to show-super
-rw-r--r-- | libbcachefs.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libbcachefs.c b/libbcachefs.c index 8ef9c37b..e7c1ca23 100644 --- a/libbcachefs.c +++ b/libbcachefs.c @@ -733,6 +733,7 @@ void bch2_sb_print(struct bch_sb *sb, bool print_layout, printf("External UUID: %s\n" "Internal UUID: %s\n" + "Device index: %u\n" "Label: %s\n" "Version: %llu\n" "Created: %s\n" @@ -764,6 +765,7 @@ void bch2_sb_print(struct bch_sb *sb, bool print_layout, "Superblock size: %llu\n", user_uuid_str, internal_uuid_str, + sb->dev_idx, label, le64_to_cpu(sb->version), time_str, |