moby--moby/archive
Alexander Larsson 6889cd9f9c archive: Handle aufs plink hardlinks in ApplyLayer
Files in the .wh..wh.plnk directory are ignored, but other files
inside the tarfile can be hardlinks to these files. This is not
something that normally happens, as on aufs unmount such files are
supposed to be dropped via the "auplink" too, yet images on the index
(such as shipyard/shipyard, e.g. layer
f73c835af6d58b6fc827b400569f79a8f28e54f5bb732be063e1aacefbc374d0)
contains such files.

We handle these by extracting these files to a temporary directory
and resolve such hardlinks via the temporary files.

This fixes https://github.com/dotcloud/docker/issues/3884

Docker-DCO-1.1-Signed-off-by: Alexander Larsson <alexl@redhat.com> (github: alexlarsson)
2014-02-17 20:46:32 +01:00
..
MAINTAINERS Move archive.go to sub package 2013-10-31 16:57:45 -07:00
archive.go archive: Handle aufs plink hardlinks in ApplyLayer 2014-02-17 20:46:32 +01:00
archive_test.go Add vendored archive/tar that includes xattrs patch 2014-02-17 08:20:21 -07:00
changes.go Add vendored archive/tar that includes xattrs patch 2014-02-17 08:20:21 -07:00
changes_test.go small batch of edits/corrections to comments 2013-12-24 16:40:14 -08:00
diff.go archive: Handle aufs plink hardlinks in ApplyLayer 2014-02-17 20:46:32 +01:00
stat_linux.go Remove linux specific calls 2014-02-09 04:23:57 -08:00
stat_unsupported.go Remove linux specific calls 2014-02-09 04:23:57 -08:00
wrap.go Add vendored archive/tar that includes xattrs patch 2014-02-17 08:20:21 -07:00