-
Notifications
You must be signed in to change notification settings - Fork 799
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
the UnionFileSystem
and mem_fs::FileSystem
don't allow mounting overlapping directories
#3678
Labels
Milestone
Comments
Michael-F-Bryan
pushed a commit
that referenced
this issue
Mar 14, 2023
Michael-F-Bryan
pushed a commit
that referenced
this issue
Mar 14, 2023
Michael-F-Bryan
pushed a commit
that referenced
this issue
Mar 14, 2023
Thanks for creating this issue with a way to reproduce it, super clear to start the discussion later in time! |
Michael-F-Bryan
pushed a commit
that referenced
this issue
Mar 15, 2023
Michael-F-Bryan
pushed a commit
that referenced
this issue
Mar 16, 2023
Following #3737 the test now do
Wich does not really add support, but at least this is coherent behavior. Some testing for |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Describe the bug
As part of #3677, I wanted to mount different folders from the host system to overlapping folders in the guest (e.g.
/tmp/first/
goes to/mapped/
and/home/michael/
goes to/mapped/nested/
). It doesn't look like this use case is supported by eitherUnionFileSystem
ormem_fs::FileSystem
at the moment.Steps to reproduce
Here are some tests we can add to the
wasmer-vfs
crate.Expected behavior
The above test should pass.
Actual behavior
The
mem_fs
test fails because we don't know how to handleSome(Node::ArcDirectory(..))
in thismatch
statement:wasmer/lib/vfs/src/mem_fs/filesystem.rs
Lines 758 to 772 in d1d1a47
The text was updated successfully, but these errors were encountered: