wasm-posix-host
    Preparing search index...

    Interface MountSpec

    interface MountSpec {
        ephemeral?: boolean;
        gid?: number;
        mode?: number;
        path: string;
        readonly?: boolean;
        source: "image" | "scratch";
        uid?: number;
    }
    Index

    Properties

    ephemeral?: boolean

    Documentation hint that the mount is wiped on kernel destroy.

    gid?: number

    Virtual group for scratch mount roots. Defaults to root.

    mode?: number

    Directory mode for scratch mount roots. Mirrors MANIFEST for defaults.

    path: string

    Absolute VFS mount point (e.g., "/etc"). No trailing slash except "/".

    readonly?: boolean

    Advisory until PR 5/5 enforces it on writes through VirtualPlatformIO.

    source: "image" | "scratch"

    image — back the mount with MemoryFileSystem.fromImage(rootfsImage). scratch — empty writable backend (host dir on Node, memfs in browser).

    uid?: number

    Virtual owner for scratch mount roots. Defaults to root.