Comments (5)
Ah, you may need the v1 branch:
https://github.com/ARMmbed/littlefs-fuse/tree/v1
Mbed OS is still using v1 unless you've explicitly added the v2 repo and are using LittleFileSystem2 in your project:
https://github.com/armmbed/mbed-littlefs
@danielnegris is right that you can use --migrate to convert a filesystem from v1 to v2, however this is a bad thing if your MCU is using v1, you won't be able to mount it on the MCU.
from littlefs-fuse.
@danielnegris That is not a case - I am using standard parameters :)
@geky You are right. I have not noticed that MbesOS is using v1 while littlefs-fuse uses v2. My bad but thanks a lot for help!
from littlefs-fuse.
If you're using non-standard block size (32k) or another parameter you have to specify those when using mount:
./lfs --block_size=BLOCK_SIZE /dev/sdb mount.
You can also try to use --migrate to migrate to a previous littlefs version.
from littlefs-fuse.
I think that thread should be part of documentation for arm mbed littlefs example.
from littlefs-fuse.
Actually, since this issue, Mbed OS has adopted v2:
ARMmbed/mbed-os#12783
So hopefully this issue will be less likely to be hit.
from littlefs-fuse.
Related Issues (19)
- Build not working HOT 3
- 2gb limit HOT 6
- Mount by custom channel
- Truncate an existing file gives spurious error and unmounts filesystem HOT 4
- You might be interested in this HOT 2
- Usage question HOT 2
- littlefs fuse wrong lfsfuse_bd implementation HOT 1
- [Question] Image created for uC
- LiitleFs made with Arduino-ESP-mklittlefs will not show any file HOT 1
- lfs_fuse_bd_erase should be implemented HOT 2
- file size directly after write wrong HOT 2
- Cannot see directory content in Midnight Commander
- New releases? HOT 7
- Read zero bytes on newly truncated file
- Ubuntu package HOT 2
- Assertion on minimum block size < 128 bytes HOT 1
- Compilation error on recent Fedora system HOT 1
- compilation error: test.c interfering HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from littlefs-fuse.