[PATCH 0/1] du: add -b option (print apparent size in bytes, rather than disk usage)

Alexander Mikhalitsyn alexander at mihalicyn.com
Sat Feb 15 13:31:52 UTC 2020


Hi friends,

Recently, on my NAS, I needed to determine the exact (apparent) size of the files in the directory
to control the integrity, and I realized that busybox du doesn't support the -b option.
I've prepared a small patch that adds this functionallity.
Please, look. Hope that it will be useful. :)

Regards, Alex

Alexander Mikhalitsyn (1):
  du: add -b option (print apparent size in bytes, rather than disk
    usage)

 coreutils/du.c | 70 ++++++++++++++++++++++++++++++++++++++++++--------
 1 file changed, 60 insertions(+), 10 deletions(-)

-- 
2.19.1



More information about the busybox mailing list