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: Harald Hoyer
Subject: Re: [Bug-cpio] [PATCH] Add option "--reproducible" for reproducible archives
Date: Tue, 08 Jul 2014 11:11:36 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0

On 03.07.2014 12:30, 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.
> ---
>  src/copyout.c | 13 ++++++++++++-
>  src/extern.h  |  5 +++++
>  src/global.c  |  3 +++
>  src/main.c    | 14 ++++++++++++--
>  src/util.c    | 60 
> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>  5 files changed, 92 insertions(+), 3 deletions(-)
> 
> ...

Sergey, any comments?




reply via email to

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