[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-wget] [Bug-Wget] Issues with Metalink support
From: |
Giuseppe Scrivano |
Subject: |
Re: [Bug-wget] [Bug-Wget] Issues with Metalink support |
Date: |
Wed, 19 Mar 2014 08:47:26 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
Darshit Shah <address@hidden> writes:
> I was trying to download a large ISO (>4GB) through a metalink file.
>
> The first thing that struck me was: The file is first downloaded to
> /tmp and then moved to the location.
>
> Is there any specific reason for this? I understand that downloading
> partial files to /tmp , stitching them and then moving them to the
> actual download location might be good on I/O. But, a very popular
> case in such scenarios is when /tmp is not large enough to store the
> file, but I have enough capacity in the location where I'm trying to
> store it.
I am not familiar with the metalink code as well and I don't know if
there is any better reason for this behaviour, but if the reason is only
because of an optimization then we shouldn't do this.
Regards,
Giuseppe