Skip to content

WasmVM: statvfs/fstatvfs not available in WASI #48

@NathanFlurry

Description

@NathanFlurry

Summary

statvfs() and fstatvfs() are not part of WASI Preview 1 — there is no filesystem statistics interface available. Programs calling these functions will fail.

Affected os-test cases

  • basic/sys_statvfs/statvfs
  • basic/sys_statvfs/fstatvfs

Category

wasi-gap — WASI Preview 1 does not expose filesystem statistics (block size, free blocks, etc.).

Notes

These were previously linked to issue #34 (stat metadata) which is a different issue. statvfs requires host-level filesystem information that the WASI sandbox does not provide.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions