Index | Thread | Search

From:
"Theo de Raadt" <deraadt@openbsd.org>
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 07:07:36 -0600

Download raw body.

Thread
Kirill A. Korinsky <kirill@korins.ky> wrote:

> On Fri, 03 May 2024 12:17:23 +0200,
> "Theo de Raadt" <deraadt@openbsd.org> wrote:
> >
> > Regardless you can *still lose*, unless we put all of OpenBSD into 1 file.
> >
> 
> Here another solution: change layout to /pub/OpenBSD/snapshots/VERSION/amd64
> where VERSIONS is timestamp or date.
> 
> And a text file /pub/OpenBSD/snapshots/latest with the lastest VERSION.

You don't understand the problem.  There is no way to gaurantee atomicity
of multiple files.  It has *nothing* to do with timestamps or dates.