diff options
author | David Sterba <dsterba@suse.cz> | 2015-02-02 16:10:10 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.cz> | 2015-06-08 17:50:47 +0200 |
commit | e8eb7c001d21ef8a79e66caade8473ec2fabf0b0 (patch) | |
tree | abff1c1521890eb4d953823a75fd9055839e9b5a /mkfs.c | |
parent | 3afd86683b7324c9fec94ca2c35b64ac72ab523f (diff) | |
download | btrfs-progs-e8eb7c001d21ef8a79e66caade8473ec2fabf0b0.tar.gz |
btrfs-progs: mkfs, move uuid to the end of device summary
Signed-off-by: David Sterba <dsterba@suse.cz>
Diffstat (limited to 'mkfs.c')
-rw-r--r-- | mkfs.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -1145,16 +1145,16 @@ static void list_all_devices(struct btrfs_root *root) number_of_devices++; printf(" Number of devices:\t%d\n", number_of_devices); - printf(" UUID ID SIZE PATH\n"); - printf(" ------------------------------------ -- --------- -----------\n"); + printf(" ID SIZE PATH UUID\n"); + printf(" --- ---------- ------------ ------------------------------------\n"); list_for_each_entry_reverse(device, &fs_devices->devices, dev_list) { char dev_uuid[BTRFS_UUID_UNPARSED_SIZE]; uuid_unparse(device->uuid, dev_uuid); - printf(" %s %3llu %10s %s\n", - dev_uuid, device->devid, + printf(" %3llu %10s %12s %s\n", + device->devid, pretty_size(device->total_bytes), - device->name); + device->name, dev_uuid); total_block_count += device->total_bytes; } |