[File] [PATCH] Magdir/filesystems for littlefs superblock

Alexandre IOOSS erdnaxe at crans.org
Wed Feb 7 16:01:41 UTC 2024


Hello,

I would like to propose a patch to add support for littlefs filesystems.

littlefs (https://github.com/littlefs-project/littlefs/) partitions 
always start with two superblocks. These superblocks contain a fixed 
magic value "littlefs", and a constant 32-bit tag.

I was able to test this new signature on a littlefs partition dumped 
from an ESP32 micro-controller running Meshtastic 
(https://meshtastic.org/). I also used littlefs-python to create some 
samples with different block sizes and block counts to test the robustness.

Attached, you will find the diff.
I hope this patch will be included in future version of file.

Best regards,

-- 
Alexandre
-------------- next part --------------
A non-text attachment was scrubbed...
Name: littlefs.diff
Type: text/x-patch
Size: 660 bytes
Desc: not available
URL: <https://mailman.astron.com/pipermail/file/attachments/20240207/82470711/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <https://mailman.astron.com/pipermail/file/attachments/20240207/82470711/attachment.asc>


More information about the File mailing list