diff options
author | Simon Rettberg | 2020-09-30 11:09:38 +0200 |
---|---|---|
committer | Simon Rettberg | 2020-09-30 11:09:38 +0200 |
commit | 47f311a922e2918dd94cd8bd13e9670b69652322 (patch) | |
tree | a6aa66240967cae3c8ae07054c9f57eaa6830cb2 | |
parent | Fix two (crash) bugs (diff) | |
download | ntfsfree-47f311a922e2918dd94cd8bd13e9670b69652322.tar.gz ntfsfree-47f311a922e2918dd94cd8bd13e9670b69652322.tar.xz ntfsfree-47f311a922e2918dd94cd8bd13e9670b69652322.zip |
Print minimum range size in --human-readable mode
-rw-r--r-- | main.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -136,6 +136,11 @@ int main(int argc, char **argv) if (options.human) { ntfs_log_info("# Clustersize %u\n", (unsigned int)vol->cluster_size); ntfs_log_info("# Output block size %u\n", (unsigned int)options.output_block_size); + if (options.min_size >= 1024 * 1024) { + ntfs_log_info("# Minimum range size: %lldMiB\n", (long long)options.min_size / (1024 * 1024)); + } else { + ntfs_log_info("# Minimum range size: %lldKiB\n", (long long)options.min_size / 1024); + } } options.min_size /= vol->cluster_size; if (options.pagefile) { |