google-code-export / s3ql

Automatically exported from code.google.com/p/s3ql
0 stars 0 forks source link

cachesize warning #445

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The patch for size auto detection seems to have some mixups:

shutil.disk_usage returns bytes
according to --help and the manual --cachesize is in KiB
the warning is displayed when cachesize < avail (I think this should be other 
way round)

attached patch fixes this

Original issue reported on code.google.com by GVorm...@gmail.com on 10 Dec 2013 at 12:51

Attachments:

GoogleCodeExporter commented 9 years ago
This issue was closed by revision e720b71d7a19.

Original comment by Nikolaus@rath.org on 11 Dec 2013 at 1:59

GoogleCodeExporter commented 9 years ago
Thanks for the patch and report! Will be included in the next release.

Original comment by Nikolaus@rath.org on 11 Dec 2013 at 2:05