[Piuparts-devel] Bug#841025: Hard links patch for bug #754878 makes little sense

Alexander Thomas alexander.thomas at esaturnus.com
Mon Oct 17 09:33:46 UTC 2016


On Mon, Oct 17, 2016 at 11:25 AM, Andreas Beckmann <anbe at debian.org> wrote:
> On 2016-10-17 11:13, Alexander Thomas wrote:
>> Because I don't know what was the use case for the submitter of that
>> hard-linking patch, it is safest to preserve it, but make it optional
>> with a new --hard-link switch that is only relevant together with
>> --existing-chroot. This is also very easy to implement, it only
>
> Looks ok from my point, maybe the documentation of --existing-chroot
> could mention the new option.
>
> Regarding your use case: why don't you use chroot tarballs? IMO, tar xfz
> might be faster than cp -a.

We benchmarked it and on our trusty old build server, cp -a was faster.

Here's a small update that mentions --hard-link in --existing-chroot.

Regards,

-- 
Alexander Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: piuparts-optional-hard-link.patch
Type: text/x-patch
Size: 3274 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/piuparts-devel/attachments/20161017/8c293849/attachment.bin>


More information about the Piuparts-devel mailing list