2
2
mirror of https://github.com/octoleo/restic.git synced 2024-12-27 04:32:40 +00:00
restic/changelog/0.15.2_2023-04-24/issue-4239

12 lines
499 B
Plaintext
Raw Normal View History

Bugfix: Correct number of blocks reported in mount point
2023-04-23 20:09:52 +00:00
Restic mount points reported an incorrect number of 512-byte (POSIX standard)
2023-04-23 10:40:29 +00:00
blocks for files and links due to a rounding bug. In particular, empty files
were reported as taking one block instead of zero.
The rounding is now fixed: the number of blocks reported is the file size
2023-04-23 20:09:52 +00:00
(or link target size) divided by 512 and rounded up to a whole number.
https://github.com/restic/restic/issues/4239
https://github.com/restic/restic/pull/4240