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