-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
Description
We need to mimic the behavior of host filesystem more closely.
For that I propose to create a tar file with all the host files mentioned on the zvsh
command line. And then mount that tar. This way the paths to files will be the same on host and inside the session.
There are other features that will be added by implementing the above:
- ability to target a directory (the contents of a directory will be added to tar and then all the files will be accessible from inside the session)
- session will be able to create directories and multiple files on host (the resulting tar can be extracted on top of the host fs)
- session can use O_TRUNCATE or any other file operations that cannot be applied to channels