mirror of
https://github.com/kdave/btrfs-progs
synced 2024-12-26 16:12:34 +00:00
btrfs-progs: mkfs: print device uuid if set from command line
Print the device uuid in the summary in case it's specified on the command line, not always as it would be confusing and is not usually needed. Can be found in 'btrfs inspect-internal dump-super' as device_item.uuid . Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
3f27e60866
commit
d8032c3b8b
@ -1964,6 +1964,8 @@ raid_groups:
|
||||
update_chunk_allocation(fs_info, &allocation);
|
||||
printf("Label: %s\n", label);
|
||||
printf("UUID: %s\n", mkfs_cfg.fs_uuid);
|
||||
if (dev_uuid[0] != 0)
|
||||
printf("Device UUID: %s\n", mkfs_cfg.dev_uuid);
|
||||
printf("Node size: %u\n", nodesize);
|
||||
printf("Sector size: %u\n", sectorsize);
|
||||
printf("Filesystem size: %s\n",
|
||||
|
Loading…
Reference in New Issue
Block a user