updated README example
This commit is contained in:
@@ -31,7 +31,7 @@ I/O performance may be affected. As mentioned, tar is a streaming format, and th
|
|||||||
# Examples
|
# Examples
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
$ fusetar my-archive.tar mnt/
|
$ fusetar my-archive.tar -f mnt/
|
||||||
```
|
```
|
||||||
|
|
||||||
And just like that, everything inside the tarball is available to you as a
|
And just like that, everything inside the tarball is available to you as a
|
||||||
@@ -57,7 +57,7 @@ With that being said, if you absolutely need to write files to the directory (bu
|
|||||||
|
|
||||||
```sh
|
```sh
|
||||||
$ mkdir -p mnt/ upper/ workdir/ merged/
|
$ mkdir -p mnt/ upper/ workdir/ merged/
|
||||||
$ ./main.exe debian-amd64-bookworm-rootfs-270224.tar -f mnt &
|
$ fusetar debian-amd64-bookworm-rootfs-270224.tar -f mnt &
|
||||||
[1] 46526
|
[1] 46526
|
||||||
$ sudo mount -t overlay overlay -olowerdir=./mnt,upperdir=./upper,workdir=./workdir ./merged
|
$ sudo mount -t overlay overlay -olowerdir=./mnt,upperdir=./upper,workdir=./workdir ./merged
|
||||||
$ echo "hi" > merged/hello-world.txt
|
$ echo "hi" > merged/hello-world.txt
|
||||||
|
|||||||
Reference in New Issue
Block a user