Skip to content

Add host filesystem files to tar and mount it #36

@pkit

Description

@pkit

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions