Skip to content

Custom filesystem #304

@felberj

Description

@felberj

Hi,

I would like to provide a "custom" filesystem to the binary I am executing. I am thinking about something like this:

Create an empty filesystem and then add some files into it, like

testdata/lib64/libc.so.6 -> /lib/x86_64-linux-gnu/libc.so.6
my_file -> /tmp/file

One thing I could image is to hook into the syscalls and rewrite the paths there, or do you have a better way? I am willing to implement this on my own, but want some feedback on where to put this.

Btw, how unstable is the branch "unstable"?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions