Skip to content
This repository was archived by the owner on Oct 10, 2020. It is now read-only.
This repository was archived by the owner on Oct 10, 2020. It is now read-only.

atomic diff: image filesystem comparison is shallow #761

@twaugh

Description

@twaugh

When using 'atomic diff' to inspect differences between images, filecmp.dircmp is used. This performs a shallow comparison, meaning that files with the same time stamp and size are assumed to be identical.

As a result, these things may be reported as identical:

  • symbolic links with different targets
  • regular files with different content
  • files with different permissions or ownership
  • flies with different timestamps but identical content

With the exception of files with different timestamps but identical content, the other cases are very useful to report as they are likely to make the image behave differently.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions