aboutsummaryrefslogtreecommitdiff
path: root/share/man/man4
diff options
context:
space:
mode:
authorKyle Evans <kevans@FreeBSD.org>2019-10-16 14:43:05 +0000
committerKyle Evans <kevans@FreeBSD.org>2019-10-16 14:43:05 +0000
commit455d8009b468669020eb5dd2a209e9094eeda503 (patch)
treead4f29f660def69020a62779b010ea47c3640636 /share/man/man4
parente3df342a32debf2cc8bdc20582afd8adeec35775 (diff)
downloadsrc-455d8009b468669020eb5dd2a209e9094eeda503.tar.gz
src-455d8009b468669020eb5dd2a209e9094eeda503.zip
libbe(3): add needed bits for be_destroy to auto-destroy some origins
New BEs can be created from either an existing snapshot or an existing BE. If an existing BE is chosen (either implicitly via 'bectl create' or explicitly via 'bectl create -e foo bar', for instance), then bectl will create a snapshot of the current BE or "foo" with be_snapshot, with a name formatted like: strftime("%F-%T") and a serial added to it. This commit adds the needed bits for libbe or consumers to determine if a snapshot names matches one of these auto-created snapshots (with some light validation of the date/time/serial), and also a be_destroy flag to specify that the origin should be automatically destroyed if possible. A future commit to bectl will specify BE_DESTROY_AUTOORIGIN by default so we clean up the origin in the most common case, non-user-managed snapshots.
Notes
Notes: svn path=/head/; revision=353644
Diffstat (limited to 'share/man/man4')
0 files changed, 0 insertions, 0 deletions