diff options
author | Dave Reisner <dreisner@archlinux.org> | 2012-04-19 00:47:08 +0200 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2012-04-22 05:43:52 +0200 |
commit | d13917104528fba28cd110373f130b3149002782 (patch) | |
tree | 6748155a2892866b7b7869be2e0a576db643a265 /bash-completion | |
parent | 29625b7bdb80289a0609bdd0f53b6a71dd2f5ab1 (diff) | |
download | mkinitcpio-d13917104528fba28cd110373f130b3149002782.tar.gz mkinitcpio-d13917104528fba28cd110373f130b3149002782.tar.xz |
lsinitcpio: show file sizes in analyze output
Always display the file size on disk, but also display the uncompressed
size for compressed images. Borrows my own size_to_human function from
paccache and elsewhere.
Before:
==> Compressed with: gzip
-> Compression ratio: .377
-> Estimated decompression time: 0.058s
After:
==> Size: 2.67 MiB
==> Compressed with: gzip
-> Uncompressed size: 7.07 MiB (.377 ratio)
-> Estimated decompression time: 0.059s
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Diffstat (limited to 'bash-completion')
0 files changed, 0 insertions, 0 deletions