bug-cpio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-cpio] [PATCH] Add option "--reproducible" for reproducible arch


From: Pavel Raiskup
Subject: Re: [Bug-cpio] [PATCH] Add option "--reproducible" for reproducible archives
Date: Fri, 04 Jul 2014 08:14:50 +0200
User-agent: KMail/4.12.5 (Linux/3.14.8-200.fc20.x86_64; KDE/4.12.5; x86_64; ; )

On Thursday 03 of July 2014 12:30:52 address@hidden wrote:
> From: Harald Hoyer <address@hidden>
> 
> Having the same files and directories on different locations results in
> different archives, because the inode numbers and devices are not the
> same.
> 
> The "--reproducible" flag will assign increasing inode numbers to
> the files, resulting in equal archives for equal files and directories.
> 
> A hash table is used to find already assigned inode numbers for linked
> files.

Something like that could fix problems with big inode numbers in older
archive types -- patch for that was proposed years ago:
http://lists.gnu.org/archive/html/bug-cpio/2011-11/msg00000.html

Pavel




reply via email to

[Prev in Thread] Current Thread [Next in Thread]