Hacker GitHub

← All repos

littlefs-project/littlefs

View on GitHub ↗ ★ 6,997 C

A little fail-safe filesystem designed for microcontrollers

19 mentions on Hacker News by 18 people: 8 stories, 11 comments · first 2019-01-24 · latest 2026-06-19

Mentions per year 19 mentions · busiest year 2019 (4)
20082026
  1. Yes I've used sqlite with things like littlefs [1]. Without an OS. If that's what you mean. https://github.com/littlefs-project/littlefs
    comment by andersmurphy · 2026-02-01 · in SQLite Is a Self Contained System
  2. …dir * to struct lfs_mlist * (probably valid of itself, assuming the alignment is compatible): https://github.com/littlefs-project/littlefs/blob/c733d9ec57... then use struct dir as if it were actually a struct lfs_mlist:…
  3. …and later restored. [1] - https://github.com/flipperdevices/flipperzero-firmware/blob/... [2] - https://github.com/littlefs-project/littlefs/blob/master/DES...
  4. …/docs.micropython.org/en/latest/reference/mpremote.ht... [2] https://hub.docker.com/u/micropython [3] https://github.com/littlefs-project/littlefs
  5. …(or R/O for 5k) on an M0. I don't know if there'd be a big difference compiling for AVR though. [0] https://github.com/littlefs-project/littlefs/pull/480
  6. That is not true. See https://github.com/littlefs-project/littlefs/blob/master/DES... Sorry, as a commenter on this pointed out, the comment I was replying to was probably talking about eMMC. For which indeed no wear levelling is specified…
  7. For microcontrollers, https://github.com/littlefs-project/littlefs has some mindshare (although not sure how much there is outside the mbed world).
    comment by cozzyd · 2021-02-01 · in Uf2: USB Flashing Format
  8. as an aside, for our embedded system we use https://github.com/ARMmbed/littlefs for our flash file system, it has a bit of a description on its design and its copy on write system so that it can handle random power loss. Be nice to see…
  9. …in looking at how C can be used in embedded realtime operating systems, i recommend diving into: https://github.com/ARMmbed/littlefs (i'm not affiliated.) it's a lean, logging flash filesystem implementation and i recommend it because the…
  10. …everything. I hope it's a more viable option in future though as I do like the design. [0] https://github.com/ARMmbed/littlefs/blob/master/DESIGN.md
    comment by skl_ · 2019-01-28 · in New Raspberry Pi Compute Module 3+
  11. https://github.com/ARMmbed/littlefs/blob/master/DESIGN.md answers those questions in admirable detail.