-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Closed
Labels
Description
I can use root directory as a subdirectory in FS tree:
var Module = {};
Module.preRun = function() {
FS.mkdir('root');
FS.mount(NODEFS, { root: '/' }, 'root');
FS.chdir('root/' + process.cwd());
}
but following code breaks on creating fake /dev/* and /tmp:
var Module = {};
Module.preRun = function() {
FS.mount(NODEFS, { root: '/' }, '/');
}
All I want is to map real filesystem but some special directories like /dev.
gagern, gebner, CMCDragonkai, SanderSpies and embeddedt