alanswx / fusefat

a modified version of fusefat that can handle an offset parameter - useful for partitions inside an image
GNU General Public License v2.0
2 stars 1 forks source link

Free cluster count not updated #3

Open OrangeDog opened 1 year ago

OrangeDog commented 1 year ago

This might be an upstream problem, but the FS Information Sector is not updated after write operations.

While this shouldn't be a major issue, it is reported (and fixed) by fsck.

Edit: actually sometimes it is an issue, and this happens:

fsck.fat 4.2 (2021-01-31)
/userconf.txt
  Contains a free cluster (25818). Assuming EOF.
/userconf.txt
  File size is 110 bytes, cluster chain length is 0 bytes.
  Truncating file to 0 bytes.
/dev/mmcblk0p1:  331 files, 25815/130554 clusters
OrangeDog commented 1 year ago

Do we know where the upstream code is maintained, if it even is?

alanswx commented 1 year ago

why didn't i fork it? maybe it isn't on github?