Bwrap Questions #88
GrootBlouNaai
started this conversation in
General
Replies: 2 comments
-
Hi, This is normal, both the source directory/file and destination directory/file must exist for binding to work, this is why bubblewrap automatically creates If you want to avoid this, you can mount your HOME directory as tmpfs:
It will still create |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thank you so much for explaining, and even correcting my command for me. I clearly didn't get how bwrap worked in that aspect. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Kron,
Awesome project. I was going through the scripts to try understand bwrap and dwarfs better. I play my games compressed in dwarfs archives and I wanted to check if you knew if dwarfs is interfering or if I am just not using bwrap correctly.
An example game would be a paradox game where the game writes to ~/.paradoxlauncher
I am trying to use bwrap to prevent the creation of ~/.paradoxlauncher and redirect the output to ~/.config/paradoxlauncher
My attempted usage was:
Mount game, overlayfs etc
Cd game directory then
bwrap --bind / / --dev /dev --bind ~/.config/paradoxlauncher ~/.paradoxlauncher ./"dowser" "$@"
The files are redirect but the folder is still created in my HOME directory which is what I trying to avoid. Its likely not related to dwarfs as I am doing that before the sandbox
Thanks in advance for any assistance
Beta Was this translation helpful? Give feedback.
All reactions