freebsd-skq/lib/libbe
kevans 45f6749b44 libbe(3): Add a destroy option for removing the origin
Currently origin snapshots are left behind when a BE is destroyed, whether
it was an auto-created snapshot or explicitly specified via, for example,
`bectl create -e be@mysnap ...`.

Removing it automatically could be argued as a POLA violation in some
circumstances, so provide a flag to be_destroy for it. An accompanying
option will be added to bectl(8) to utilize this.

Some minor style/consistency nits in the affected areas also addressed.

Reported by:	Shawn Webb
MFC after:	1 week
2019-02-10 21:19:09 +00:00
..
be_access.c libbe(3): Change be_mount to mount/unmount child datasets 2019-01-10 03:27:20 +00:00
be_error.c libbe(3): Fix error handling with respect to be_exists 2018-09-01 02:22:26 +00:00
be_impl.h libbe(3): move altroot augmentation bits around a little bit 2019-01-09 22:31:10 +00:00
be_info.c bectl(3)/libbe(3): Allow BE root to be specified 2018-11-19 02:12:08 +00:00
be.c libbe(3): Add a destroy option for removing the origin 2019-02-10 21:19:09 +00:00
be.h libbe(3): Add a destroy option for removing the origin 2019-02-10 21:19:09 +00:00
libbe.3 Cross-reference libbe(3) and bectl(8). 2018-11-21 12:46:28 +00:00
Makefile libbe(3)/bectl(8): Make consistent with beadm 2018-08-24 20:44:58 +00:00