Git Product home page Git Product logo

Comments (2)

paradigm avatar paradigm commented on August 23, 2024

Bedrock mounts a FUSE filesystem on /etc. For things like this it's supposed to pass through data from the backing filesystem, but skimming the relevant part of its source it doesn't seem to be making use of d_type anywhere. The per-dirent part of the libfuse API is that filler() function to which we're consistently passing NULL for the third parameter rather than anything interesting. Skimming the relevant part of libfuse's source I think we should be passing a struct stat pointer there with d_type set. (We're not using FUSE_READDIR_PLUS).

Given man 3 readdir indicates

All applications must properly handle a return of DT_UNKNOWN.

I can't justify prioritizing this enough to get to it for a number of weeks, but I do hope to fix this once current time pressures relax. There's a few other small fixes I'm queueing up for point fix in February - I'll see if I can ensure this makes it in then.

Given your excellent description of the issue, I suspect you may have the background to give that a try yourself; if so you're welcome to give it a go.

from bedrocklinux-userland.

spiwocoal avatar spiwocoal commented on August 23, 2024

I see then, no worries though. I'll see if I can give it a try!

from bedrocklinux-userland.

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.