How to get the deterministic result for FreeBSD tar(1)?

Joerg Sonnenberger joerg at britannica.bec.de
Wed Dec 9 09:43:50 UTC 2015


On Tue, Dec 08, 2015 at 10:25:00PM -0800, Yuri wrote:
> On 12/08/2015 02:59, Yuri wrote:
> >So I have two questions:
> >1. How do I actually achieve the output determinism for tar(1)?
> >2. Is there an agreement that this is a bug that too long or non-ASCII
> >path name triggers the leakage of ctime into a tar file?
> 
> Answering to myself: turns out this is a major bug in libarchive, making
> tar(1) in general unable to produce the deterministic output.

As you have been told, there are mechanisms like mtree that can be used
to explicitly control data. As such, please keep a sense of proportion
-- it's hardly a major bug.

Joerg


More information about the freebsd-hackers mailing list