littlefs-project / littlefs

A little fail-safe filesystem designed for microcontrollers
BSD 3-Clause "New" or "Revised" License
4.9k stars 770 forks source link

How to analye littlefs-binary-file? #985

Open Jan9401 opened 1 month ago

Jan9401 commented 1 month ago

I have mouted a partitiont to lillefs, and I have dunped it,I want to analyze what operations have occurred in the file system,Can I use any tools for analysis?

sjzth commented 1 month ago

Graphviz + CodeViz,You can give it a try

geky commented 1 week ago

There are a few hacky scripts in scripts that can decode littlefs's metadata:

It would be nice to have more debugging/decoding tools in the future, but this is low priority with everything else going on.