mirror of
https://github.com/kdave/btrfs-progs
synced 2025-05-19 03:55:40 +00:00
btrfs-progs: scrub: make scrub status summary easier to read
Currently most btrfs commands separate their output with empty lines which makes them more human readable. The scrub cmd when used with -d arg to show per device information does not. It makes it harder to find values for current disk because they are not separated from each other. This commit adds an empty line after each device summary to make it match other btrfs cmd outputs. For some reason this was the only line in scrub status that did not start from capital letter. Now it is more consistent with the rest. Pull-request: #256 Author: Rafostar <Rafostar@users.noreply.github.com> Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
fbe95d714f
commit
70411ea81b
@ -294,7 +294,7 @@ static void print_scrub_dev(struct btrfs_ioctl_dev_info_args *di,
|
||||
struct btrfs_scrub_progress *p, int raw,
|
||||
const char *append, struct scrub_stats *ss)
|
||||
{
|
||||
printf("scrub device %s (id %llu) %s\n", di->path, di->devid,
|
||||
printf("\nScrub device %s (id %llu) %s\n", di->path, di->devid,
|
||||
append ? append : "");
|
||||
|
||||
_print_scrub_ss(ss);
|
||||
|
Loading…
Reference in New Issue
Block a user