Re: BHYVE SNAPSHOT image format proposal

From: Miroslav Lachman <000.fbsd_at_quip.cz>
Date: Wed, 24 May 2023 17:46:13 UTC
On 24/05/2023 17:10, Vitaliy Gusev wrote:

>>> Current snapshot implementation has disadvantages:
>>> 3 files per snapshot: .meta, .kern, vram
>>
>> No problem, unless new single file will be protected against
>> corruption (filesystem, transfer, application crash) and possible to
>> be easily and cheaply modified in place?
> 
> Current snapshot implementation doesn’t have it. I would say more, current
> pkg implementation doesn’t track/notify if some of files are changed. 
>   Binary files on a
> system can be changed, for example ELF files, without any notification.

pkg stores checksums for installed files. You can check them with pkg 
check -s -a or pkg check --checksums -a. Changes are reported by daily 
periodic script.

Kind regards
Miroslav Lachman