summaryrefslogtreecommitdiff
path: root/README.rst
diff options
context:
space:
mode:
authorAlex Xu (Hello71) <alex_y_xu@yahoo.ca>2021-01-19 15:11:57 -0500
committerAlex Xu (Hello71) <alex_y_xu@yahoo.ca>2021-01-19 15:11:57 -0500
commitf9edcffb9040f6bfac809b7ce775c4c9fd7f24b7 (patch)
tree9269878c49504218d57a4cb636245e3291a8c9df /README.rst
parent95a86c1f7bc1e4690c7607f5bce8f77fd3c8d911 (diff)
downloadtmpoverlay-f9edcffb9040f6bfac809b7ce775c4c9fd7f24b7.tar.xz
tmpoverlay-f9edcffb9040f6bfac809b7ce775c4c9fd7f24b7.zip
various improvements
- rename err to die - auto-detect overlayfs performance/correctness opts
Diffstat (limited to 'README.rst')
-rw-r--r--README.rst10
1 files changed, 6 insertions, 4 deletions
diff --git a/README.rst b/README.rst
index 3fefab2..d2d134f 100644
--- a/README.rst
+++ b/README.rst
@@ -2,7 +2,9 @@ tmpoverlay
==========
tmpoverlay is a small, almost-POSIX shell script to create tmpfs-backed
-overlayfs mounts. See tmpoverlay --help for usage information.
+overlayfs mounts. tmpoverlay automatically detects and uses index=on and
+volatile, as well as redirect_dir and metacopy if only a single lowerdir is
+used. See tmpoverlay --help for usage information.
One important thing to note is that like any other Linux mount, an overlayfs
mount only affects new directory lookups. If a process has its current
@@ -21,9 +23,9 @@ POSIX compliance
With the following exceptions, tmpoverlay is intended to be functional on
POSIX-only shells:
-- ``getopt --`` is required for proper handling of options containing spaces
- ``mount -t overlay`` is obviously required
+- ``getopt --`` is required for proper handling of options containing spaces
+- ``stat -c`` is required to obtain upperdir owner and permissions, because
+ parsing ls -l is ridiculous.
- ``getfattr`` is used for xattr copying but in case of failure, the system is
assumed to not support xattrs and setfattr is skipped.
-- ``stat -c`` is used to obtain upperdir owner and permissions, because parsing
- ls -l is nonsense.