opnsense-src/sbin/bectl
Kyle Evans e1ee62302a libbe: Fix zfs_is_mounted check w/ snapshots
'be_destroy' can destroy a boot environment (by name) or a given snapshot.
If the target to be destroyed is a dataset, check if it's mounted. We don't
want to check if the origin dataset is mounted when destroying a snapshot.

PR:		236043
Submitted by:	Rob Fairbanks <rob.fx907 gmail com>
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D19650
2019-04-01 17:44:20 +00:00
..
tests libbe: Fix zfs_is_mounted check w/ snapshots 2019-04-01 17:44:20 +00:00
bectl.8 bectl(8): Add -o flag to destroy to clean up the origin snapshot of BE 2019-02-11 04:00:01 +00:00
bectl.c bectl(8): Add -o flag to destroy to clean up the origin snapshot of BE 2019-02-11 04:00:01 +00:00
bectl.h bectl(8): Split list functionality out into its own file as well 2018-08-06 03:41:52 +00:00
bectl_jail.c bectl(8): change jail command to execute jail(8) 2019-03-19 17:38:54 +00:00
bectl_list.c bectl(8): Use strcmp, rather than trying to directly compare 2018-08-12 00:09:52 +00:00
Makefile bectl(8): Add some regression tests 2018-11-19 02:30:12 +00:00