Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Mar 2001 04:29:21 +0000 (GMT)
From:      Terry Lambert <tlambert@primenet.com>
To:        nate@yogotech.com
Cc:        tlambert@primenet.com (Terry Lambert), dnelson@emsphone.com (Dan Nelson), des@ofug.org (Dag-Erling Smorgrav), freebsd-arch@FreeBSD.ORG
Subject:   Re: [PATCH] add a SITE MD5 command to ftpd
Message-ID:  <200103150429.VAA00913@usr05.primenet.com>
In-Reply-To: <15024.1726.752945.368097@nomad.yogotech.com> from "Nate Williams" at Mar 14, 2001 05:03:10 PM

next in thread | previous in thread | raw e-mail | index | archive | help
> > Remember that the only thing this is useful for is files that
> > change without changing the filename (e.g. no version number
> > in the name, etc.).
> > 
> > I'd argue that that was pretty rare.
> 
> It happens *alot*, if you follow the commit messages.

What percentage of ports have been hit by this, according
to the commit logs?

In my experience, it's much more likely for the file to
not be on any of the servers, like the ghostscript6 port
in the 4.2 release.

A better question might be "how many times has it happened,
and the patches still applied successfully, after you made
the !$%@! port ignore the MD5 checksum?"...

So... is the FreeBSD FTP server going to have this "feature"
added to it, or is DG putting his foot down?

I still think the SIZE is an OK think; if everyone is in
love with the SITE MD5 thing, at least make it so it will
prefer the contents of a "site.md5" file in the directory
to doing recomputation, or, even better, will cache MD5,
filename, and timestamp, look at the timestamp for the name,
or if the name doesn't exist, MD5 it, and cache the new value,
and if the timestamp is equal, return the cached value.

Even a cron job is a lot better than calculating an MD5 5000
times on the same file...


					Terry Lambert
					terry@lambert.org
---
Any opinions in this posting are my own and not those of my present
or previous employers.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200103150429.VAA00913>