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

Yuri yuri at rawbw.com
Wed Dec 9 06:25:07 UTC 2015


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.

https://github.com/libarchive/libarchive/pull/623

Yuri


More information about the freebsd-hackers mailing list