Skip to content

WasmVM: VFS missing POSIX filesystem hierarchy (/tmp, /bin, /etc, /var) #43

@NathanFlurry

Description

@NathanFlurry

The os-test paths/ suite checks for standard POSIX filesystem hierarchy directories. Most fail because the VFS does not create them at startup.

Directories that should exist:

  • /tmp, /var/tmp
  • /bin, /usr/bin, /sbin, /usr/sbin
  • /etc, /var, /usr, /lib
  • /root (home for root user)

Device nodes already handled by the device layer (/dev/null, /dev/zero, /dev/stdin, /dev/stdout, /dev/stderr, /dev/urandom) pass exit 0 but some fail stdout parity (fixed by #31).

Directories that may remain unimplemented: /proc, /sys, /dev/console, /dev/full, /dev/tty, /dev/random, /dev/ptmx, /srv.

48 tests affected.

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