]> git.ipfire.org Git - thirdparty/bacula.git/commit
Fix #7319 Introduce 'du' command inside restore menu
authorMichal Rakowski <michal.rakowski@baculasystems.com>
Sun, 14 Feb 2021 22:31:15 +0000 (23:31 +0100)
committerEric Bollengier <eric@baculasystems.com>
Thu, 24 Mar 2022 08:03:04 +0000 (09:03 +0100)
commit94fbf13ceceb320d4ec5dc8485bceafdbf1c087b
treee0afa03c633d7882a8cea1ae09e0f378d4127d2b
parent1beb667a18a8b1dbd489b962a84d6ce873d81674
Fix #7319 Introduce 'du' command inside restore menu

Description:
-----------

Restore menu's du commands mimics Linux 'du' commands in terms that it
simply sums size of all files in directories below. For files, it simply
prints it's sizes.

TREE_NODE`s delta_seq size was reduced to int16_t since we don't expect
it to be any bigger at all while it reduced struct`s size a little bit
(it was still expanded by the `size` filed though).
bacula/src/dird/ua_tree.c
bacula/src/lib/tree.h