diff options
author | Alex Xu (Hello71) <alex_y_xu@yahoo.ca> | 2021-01-19 15:11:57 -0500 |
---|---|---|
committer | Alex Xu (Hello71) <alex_y_xu@yahoo.ca> | 2021-01-19 15:11:57 -0500 |
commit | f9edcffb9040f6bfac809b7ce775c4c9fd7f24b7 (patch) | |
tree | 9269878c49504218d57a4cb636245e3291a8c9df /README.rst | |
parent | 95a86c1f7bc1e4690c7607f5bce8f77fd3c8d911 (diff) | |
download | tmpoverlay-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.rst | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -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. |