GithubHelp home page GithubHelp logo

Usage question about littlefs-fuse HOT 2 OPEN

littlefs-project avatar littlefs-project commented on August 15, 2024
Usage question

from littlefs-fuse.

Comments (2)

geky avatar geky commented on August 15, 2024 1

Hi @keck-in-space, sorry for such a late response.

One step that is easy to overlook is existing filesystems need to be attached as a "loop device". (This isn't technically needed, but currently littlefs-fuse uses ioctls to get the physical block size.)

losetup /dev/loop0 image
./lfs /dev/loop0 mount

Another thing to check is that the major version of littlefs-fuse matches the major version of the disk. If the disk is v1 you would need the v1 branch of littlefs-fuse:
https://github.com/ARMmbed/littlefs-fuse/tree/v1

If that is not the issue, let us know. Though I would likely need a disk image to debug what is happening. Having all files missing is a strange bug and I'm not sure how that could happen.

from littlefs-fuse.

keck-in-space avatar keck-in-space commented on August 15, 2024 1

Thanks, @geky! I'll make sure I'm mounting it correctly, though I think I am. I am using the latest release of littlefs and of littlefs-fuse, so I think the versioning should be OK as well. Anyway, I'll take another look at my mounting procedure and if that doesn't fix it, report back.

from littlefs-fuse.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.