diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2024-08-25 19:11:55 -0700 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2024-08-25 19:11:55 -0700 |
commit | 62af39cb7181118d3d9c32e12aa0bcb7d273f4ee (patch) | |
tree | ce02941ec71aad2f6c33b19d6460277a68a23adf /m4 | |
parent | d1f3f4f07ab0cfa2a7f58c911e34a15c73ae5048 (diff) |
vmon: add --wip-name commandline argument
--wip-name sets a constant name to use for the pre-rename temp
name of snapshots.
Otherwise a dynamic dot-filename augmented from the destination
name is used.
The impetus for this is to simplify garbage collection of
produced PNGs. We'll ignore dot-files to never step on the WIP
file during GC, but would like vmon to truncate and reuse the
same WIP name so it's not potentially accumulating the dot-files
in weird failure modes where the snapshots repeatedly fail to
complete and get renamed.
So in such a scenario we'll pass a dot-file for --wip-name and
vmon will keep reusing that name, never leaking more than the
single WIP file in even a persistent a failure mode.
Diffstat (limited to 'm4')
0 files changed, 0 insertions, 0 deletions