Giter Site home page Giter Site logo

Comments (5)

Nikratio avatar Nikratio commented on June 19, 2024

I think you assume more logic than there is. If you call mount -t <foo>, it looks for a mount helper called mount.<foo>. So if <foo> is fuse.bindfs, it looks for mount.fuse.bindfs. These semantics have nothing to do with fuse.

from libfuse.

Balletie avatar Balletie commented on June 19, 2024

Hi, thanks for replying!

But if that's the case, why does it end up throwing this error inside the mount.fuse executable? Is it used as a fallback for when mount.fuse.bindfs is not found?

I got the same error when specifying it inside /etc/fstab, by the way.

from libfuse.

Nikratio avatar Nikratio commented on June 19, 2024

No idea. But if it's not documented, then you shouldn't rely on it.

from libfuse.

Balletie avatar Balletie commented on June 19, 2024

Alright thanks. I inspected the code of mount, and I saw that if it does not find mount.fuse.bindfs, it looks for the type without the subtype instead (mount.fuse). So this is why it ends up inside mount.fuse.

Would you consider searching the PATH for a bindfs a good option/solution? Or do you think that fuse will end up doing too much?

I also saw that there is a problem in the bindfs packaging in NixOS: it does not create a mount.fuse.bindfs executable or symlink like you said. I'm going to see if I can fix it on their side.

Thanks again :)

from libfuse.

Nikratio avatar Nikratio commented on June 19, 2024

On Feb 18 2016, Skip [email protected] wrote:

Alright thanks. I inspected the code of mount, and I saw that if it
does not find mount.fuse.bindfs, it looks for the type without the
subtype instead (mount.fuse). So this is why it ends up inside
mount.fuse.

Would you consider searching the PATH for a bindfs a good option/solution? Or do you think that fuse will end up doing too much?

Not in principle. But I'd need to see an actual patch to be sure.

Best,
-Nikolaus

GPG encrypted emails preferred. Key id: 0xD113FCAC3C4E599F
Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F

         »Time flies like an arrow, fruit flies like a Banana.«

from libfuse.

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.