mirror of
https://github.com/aljazceru/kata-containers.git
synced 2025-12-30 04:24:29 +01:00
This patch fixes inconsistent calculations of the rootfs size. For `du` and `df`, `-B 1MB` is different from `-BM`. The former is the power of 1000, and the latter is the power of 1024. So comparing them doesn't make sense. The bug may result in a larger image than needed. Fixes: #2560 Signed-off-by: Yujia Qiao <rapiz3142@gmail.com>