mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/kdave/btrfs-progs.git
synced 2024-11-16 00:34:32 +08:00
btrfs-progs: mkfs, drop UUID from device summary
Signed-off-by: David Sterba <dsterba@suse.cz>
This commit is contained in:
parent
e8eb7c001d
commit
d209d6fc97
8
mkfs.c
8
mkfs.c
@ -1145,16 +1145,16 @@ static void list_all_devices(struct btrfs_root *root)
|
|||||||
number_of_devices++;
|
number_of_devices++;
|
||||||
|
|
||||||
printf(" Number of devices:\t%d\n", number_of_devices);
|
printf(" Number of devices:\t%d\n", number_of_devices);
|
||||||
printf(" ID SIZE PATH UUID\n");
|
printf(" ID SIZE PATH\n");
|
||||||
printf(" --- ---------- ------------ ------------------------------------\n");
|
printf(" --- ---------- ------------\n");
|
||||||
list_for_each_entry_reverse(device, &fs_devices->devices, dev_list) {
|
list_for_each_entry_reverse(device, &fs_devices->devices, dev_list) {
|
||||||
char dev_uuid[BTRFS_UUID_UNPARSED_SIZE];
|
char dev_uuid[BTRFS_UUID_UNPARSED_SIZE];
|
||||||
|
|
||||||
uuid_unparse(device->uuid, dev_uuid);
|
uuid_unparse(device->uuid, dev_uuid);
|
||||||
printf(" %3llu %10s %12s %s\n",
|
printf(" %3llu %10s %12s\n",
|
||||||
device->devid,
|
device->devid,
|
||||||
pretty_size(device->total_bytes),
|
pretty_size(device->total_bytes),
|
||||||
device->name, dev_uuid);
|
device->name);
|
||||||
total_block_count += device->total_bytes;
|
total_block_count += device->total_bytes;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user