freebsd-nq/sbin/bectl
Kyle Evans 568f805c83 bectl: push space-in-name check down into libbe
This check was previously in `create` only, not applying to renames.  It
should really be applied at the libbe level, so that we can avoid
writing about this restriction over and over again.

While we're here: `bectl rename` always succeeds, even when it doesn't.
Start returning the error.

Approved by:	re (gjb)
Reported By:	Christian McDonald <cmcdonald netgate com>

(cherry picked from commit dadb9c7093)
(cherry picked from commit 227e52a9c0)
2022-04-06 09:32:51 -05:00
..
tests bectl(8): don't allow creation of boot environments with spaces 2021-06-11 09:28:41 -08:00
bectl_jail.c bectl: simplify the tail end of the jail cmd 2020-12-06 15:58:50 +00:00
bectl_list.c loader: zfs should support bootonce an nextboot 2020-09-21 09:01:10 +00:00
bectl.8 bectl: add some discussion about boot environment layouts 2022-04-06 09:32:48 -05:00
bectl.c bectl: push space-in-name check down into libbe 2022-04-06 09:32:51 -05:00
bectl.h bectl(8): Split list functionality out into its own file as well 2018-08-06 03:41:52 +00:00
Makefile pkgbase: Move bectl to the runtime package 2021-01-04 16:17:12 +01:00
Makefile.depend Merge OpenZFS support in to HEAD. 2020-08-25 02:21:27 +00:00