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

Christos Zoulas christos at zoulas.com
Fri Feb 9 00:46:36 UTC 2024


Committed, thanks

christos

> On Feb 7, 2024, at 11:01 AM, Alexandre IOOSS <erdnaxe at crans.org> wrote:
> 
> 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
> <littlefs_diff.DEFANGED-82682>-- 
> File mailing list
> File at astron.com
> https://mailman.astron.com/mailman/listinfo/file
> <sanitizer.log>



More information about the File mailing list