Ticket #243 (new enhancement)

Opened 2 months ago

du -sb vs. du -sB 1

Reported by: dwsr@doingwhatsoundsright.com Assigned to: royger
Priority: minor Component: wTorrent
Version: HEAD Keywords:
Cc:

Description

Using '-sb' as arguments to du means that du uses the apparent size of the files, not the true disk usage. Due to fragmentation and sparse files, which are both common with torrenting, this can grossly increase the calculated size. I manage a few seedboxes and I have seen a 10GB torrent be calculated to be 5 times larger than it really was. I recommend that the arguments to du be changed to '-sB 1'.

Attachments


Add/Change #243 (du -sb vs. du -sB 1)