1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/daemon/graphdriver
Sargun Dhillon b467f8b2ef Fix copying hardlinks in graphdriver/copy
Previously, graphdriver/copy would improperly copy hardlinks as just regular
files. This patch changes that behaviour, and instead the code now keeps
track of inode numbers, and if it sees the same inode number again
during the copy loop, it hardlinks it, instead of copying it.

Signed-off-by: Sargun Dhillon <sargun@sargun.me>
2017-11-28 14:59:56 -08:00
..
aufs Remove deprecated MkdirAllAs(), MkdirAs() 2017-11-21 13:53:54 +01:00
btrfs Remove deprecated MkdirAllAs(), MkdirAs() 2017-11-21 13:53:54 +01:00
copy Fix copying hardlinks in graphdriver/copy 2017-11-28 14:59:56 -08:00
devmapper Remove deprecated MkdirAllAs(), MkdirAs() 2017-11-21 13:53:54 +01:00
graphtest Add quota support to VFS graphdriver 2017-11-06 15:53:51 -08:00
lcow Remove deprecated MkdirAllAs(), MkdirAs() 2017-11-21 13:53:54 +01:00
overlay Remove deprecated MkdirAllAs(), MkdirAs() 2017-11-21 13:53:54 +01:00
overlay2 Remove deprecated MkdirAllAs(), MkdirAs() 2017-11-21 13:53:54 +01:00
overlayutils 'docker daemon' deprecation message doesn't use the new versioning scheme 2017-03-03 17:26:49 +08:00
quota Skip further checks for quota in user namespaces 2017-11-17 12:57:27 +01:00
register daemon/graphdriver/register: separate overlay2 2017-11-15 00:06:00 -08:00
vfs Add quota support to VFS graphdriver 2017-11-06 15:53:51 -08:00
windows Remove deprecated MkdirAllAs(), MkdirAs() 2017-11-21 13:53:54 +01:00
zfs Remove deprecated MkdirAllAs(), MkdirAs() 2017-11-21 13:53:54 +01:00
counter.go Merge pull request #31083 from xulike666/fight-for-readability 2017-03-03 15:13:01 +01:00
driver.go Skip empty directories on prior graphdriver detection 2017-11-21 15:42:04 +01:00
driver_freebsd.go graphdriver: custom build-time priority list 2017-11-16 19:43:34 -08:00
driver_linux.go graphdriver: custom build-time priority list 2017-11-16 19:43:34 -08:00
driver_test.go Skip empty directories on prior graphdriver detection 2017-11-21 15:42:04 +01:00
driver_unsupported.go graphdriver: custom build-time priority list 2017-11-16 19:43:34 -08:00
driver_windows.go graphdriver: custom build-time priority list 2017-11-16 19:43:34 -08:00
fsdiff.go LCOW: Implemented support for docker cp + build 2017-09-14 12:07:52 -07:00
plugin.go Add deadcode linter 2017-08-21 18:18:50 -04:00
proxy.go LCOW: Implemented support for docker cp + build 2017-09-14 12:07:52 -07:00