[virt-bootstrap 0/4] Add support for whiteout files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

_______________________________________________
virt-tools-list mailing list
virt-tools-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/virt-tools-list



[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux