Index | Thread | Search

From:
Kirill A. Korinsky <kirill@korins.ky>
Subject:
Re: sysupgrade/ftp: use a 'needle' to poke through caching layers
To:
Job Snijders <job@openbsd.org>, tech@openbsd.org
Date:
Fri, 03 May 2024 16:34:54 +0200

Download raw body.

Thread
On Fri, 03 May 2024 16:10:29 +0200,
"Theo de Raadt" <deraadt@openbsd.org> wrote:
> 
> Kirill A. Korinsky <kirill@korins.ky> wrote:
> 
> > 
> > I assume that mirrors use rsync, which deletes remotely deleted files.
> > 
> > Am I wrong?
> 
> Oh that'll be just great.
> 
> Someone will be installing a snapshot, and the files just get deleted.
> But that's good, non-existant files can't fail the hash.
> 

If you only keep a previous version of the snapshot, this almost solves the
problem. I agree that it doubles the disk space, but --delete-delay does
that already.

And it requires the mirrors to be synchronized quite often.

Ok, it doesn't solve the issue, it covers it with the cost of disk space.

-- 
wbr, Kirill