Skip to content

helper: overview backups size with toybox du - #8

Draft
ash-iir wants to merge 1 commit into
mainfrom
fix-overview-size
Draft

ash-iir wants to merge 1 commit into
mainfrom
fix-overview-size

Conversation

@ash-iir

@ash-iir ash-iir commented Nov 19, 2026

Copy link
Copy Markdown
Owner

overview measured the backups dir with du -s -B1. toybox du has no -B, so it printed nothing and backups_size was always 0. Now uses du -sk × 1024, like du_bytes and the other size checks.

Testing

  • sh -n on helper.sh.
  • Not tested on a rooted device.

toybox du has no -B, so du -s -B1 printed nothing and backups_size was
always 0. Use du -sk and multiply, as the other size checks already do.

Signed-off-by: ash-iir <254348575+ash-iir@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant