From 7f305310ded6b56134cc4684a6aa24912d4bf6d5 Mon Sep 17 00:00:00 2001 From: gliargovas Date: Wed, 11 Oct 2023 09:36:21 -0600 Subject: [PATCH] Put sandboxes under /tmp in the -L option example --- README.md | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index a69b34fd..9180f2c7 100644 --- a/README.md +++ b/README.md @@ -162,15 +162,12 @@ explore /tmp/tmp.X6OQb5tJwr` to explore an existing sandbox. To specify multiple lower directories for overlay (by merging them together), you can use the `-L` flag followed by a colon-separated list of directories. The directories on the left have higher precedence and can overwrite the directories on the right: ```ShellSession -$ try -D sandbox1 "echo 'File 1 Contents - sandbox1' > file1.txt" -... -$ try -D sandbox2 "echo 'File 2 Contents - sandbox2' > file2.txt" -... -$ try -D sandbox3 "echo 'File 2 Contents - sandbox3' > file2.txt" -... +$ try -D /tmp/sandbox1 "echo 'File 1 Contents - sandbox1' > file1.txt" +$ try -D /tmp/sandbox2 "echo 'File 2 Contents - sandbox2' > file2.txt" +$ try -D /tmp/sandbox3 "echo 'File 2 Contents - sandbox3' > file2.txt" # Now use the -L flag to merge both sandbox directories together, with sandbox3 having precedence over sandbox2 -$ try -L "sandbox3:sandbox2:sandbox1" "cat file1.txt file2.txt" +$ try -L "/tmp/sandbox3:/tmp/sandbox2:/tmp/sandbox1" "cat file1.txt file2.txt" File 1 Contents - sandbox1 File 2 Contents - sandbox3 ```