[virt-tools-list] [virt-bootstrap 0/4] Add support for whiteout files
Radostin Stoyanov
rstoyanov1 at gmail.com
Sun Aug 4 18:05:59 UTC 2019
A whiteout files are files with .wh.* prefix that indicate
a path that should not be present in upper layers.
When a file inherited from a parent layer is removed a special file
with name .wh.FILE (where FILE is the name of the removed file) is
generated. Similarly, when a new folder is created a special file
.wh..wh..opq is generated inside this folder to indicate that all
siblings from previous layers are hidden.
Radostin Stoyanov (4):
pylint: Fix too many blank lines
pylint: Specify string format as parameters
pylint: Fix unsubscriptable-object
docker: Add support for whiteout files
src/virtBootstrap/utils.py | 12 +++-
src/virtBootstrap/virt_bootstrap.py | 3 +-
src/virtBootstrap/whiteout.py | 93 +++++++++++++++++++++++++++++
tests/__init__.py | 11 ++--
4 files changed, 109 insertions(+), 10 deletions(-)
create mode 100644 src/virtBootstrap/whiteout.py
--
2.21.0
More information about the virt-tools-list
mailing list