freebsd-skq/sbin/bectl
kevans d94fd14e87 bectl(8): Add a test for jail/unjail of numeric BE names
Fixed by r348215, bectl ujail first attempts the trivial fetch of a jid by
passing the first argument to 'ujail' to jail_getid(3) in case a jid/name
have been passed in instead of a BE name. For numerically named BEs, this
was doing the wrong thing: instead of failing to locate the jid specified
and falling back to mountpath search, jail_getid(3) would return the input
as-is.

While here, I've fixed bectl_jail_cleanup which still used a hard-coded pool
name that was overlooked w.r.t. other work that was in-flight around the
same time.

MFC after:	3 days
2019-05-24 01:53:45 +00:00
..
tests bectl(8): Add a test for jail/unjail of numeric BE names 2019-05-24 01:53:45 +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
bectl.8 bectl(8): add description for create subcommand 2019-05-22 23:07:40 +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
Makefile bectl(8): Add some regression tests 2018-11-19 02:30:12 +00:00