Subject: Re: 'make fetch' and partial downloads
To: Frederick Bruckman <fredb@immanent.net>
From: Bill Studenmund <wrstuden@zembu.com>
List: tech-pkg
Date: 07/20/2001 15:08:55
On Thu, 19 Jul 2001, Frederick Bruckman wrote:
> On Thu, 19 Jul 2001, David Brownlee wrote:
>
> > What do people think about changing the 'make fetch' target to
> > download to a temporary file and rename after download is
> > complete? Would we want to use a fixed name per distfile
> > (eg: ${distfile}.downloading)?
>
> I'm sorry, but I don't see the point. It seems to add complexity for
> no real gain, plus it also seems that you'd lose information (the
> mtime of the distfile, which is useful for singling out the incomplete
> distfiles, at least).
I don't think a mv should modify the mtime on the file. The ctime on the
inode, and the mtime on the directory, but those don't really matter.
Take care,
Bill