Skip to content

Have ___sys_statfs64 return real values when the FS supports it #22607

@jeroenpf

Description

@jeroenpf

Version of emscripten/emsdk:
3.1.61

The ___syscall_statfs64 function currently returns hardcoded values while some filesystems could potentially return more accurate stats. For example, NODEFS could leverage the Node statfs filesystem function to return actual stats for a given mount point.

Is this something worth considering or are there any problems with such an approach?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions