[PATCH] btrfs-convert: show progress

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I'm sending a patch to show progress of btrfs-convert command. I put a
progress bar in the only heavy process: the btrfs metadata creation
(due to CRC calculation):

> ./btrfs-convert /dev/loop1
Creating btrfs metadata [================================================] 100%
Creating ext2fs image file... [DONE]
Cleaning up system chunk... [DONE]
Conversion complete.

I just used "\r". I think it is a simple but effective approach
without ncurses either other dependencies.

Suggestions are welcome.

Alfredo

Attachment: convert-progress-bar.patch
Description: Binary data


[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux