On 2009/10/07 23:49, frantisek holop wrote: > hmm, on Wed, Oct 07, 2009 at 11:00:26PM +0200, Landry Breuil said that > > > the mirror is not finished yet probably. > > > hey, what about a nice feature in pkg_add, > > > that while the mirror is doing the bulk build, > > > the build script would create a text file in > > > the ftp directory, ".building" and remove it > > > afterwards? :] > > > > Do you seriously think every mirror does its own bulk build ? > > > > Think a bit more about the whole problem of snapshots distribution of > > several gigabytes all over the world on mirrors operated by various > > people, some of them not even using OpenBSD, and please realize what > > you propose is stupid. > > i dont see how this is "stupid"... ok, some of them just get > the packages, so what? the script that does that could touch > a .lock file when it starts and remove it when it is finished...
Mirrors pull from other mirrors, with this method some mirrors will do their own lock handling, others will just rsync the lock files from their upstream and you'll end up with a broken mirror that looks valid. Or something may go wrong and a transfer only goes halfway while indicating success, etc. It's not robust. If you want something better, download SHA256 and check the hashes.