Standalone test case: ```console $ ls -d */ | grep -E "tmp/|dev/" $ emcc test/hello_world.c -sNODERAWFS -sWASMFS $ node a.out.js hello, world! $ ls -d */ | grep -E "tmp/|dev/" dev/ tmp/ ``` This can be worked around by avoiding the `wasmfs_create_root_dir()` hook, see e.g. commit https://github.com/kleisauke/wasm-vips/commit/88df6baa9790cde7fbf72d00d9dd875c659b166b. _Originally mentioned in https://github.com/emscripten-core/emscripten/issues/19557#issuecomment-2684488750_