]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
libbe(3)/bectl(8): Make consistent with beadm
authorKyle Evans <kevans@FreeBSD.org>
Fri, 24 Aug 2018 20:44:58 +0000 (20:44 +0000)
committerKyle Evans <kevans@FreeBSD.org>
Fri, 24 Aug 2018 20:44:58 +0000 (20:44 +0000)
commit8369ba427a9a4db4c4886fb2a6d7a7dae00de707
tree5fbe1998170a95f3add3ba27bdf5df4d4d168bab
parent306abf0f35a0253765d7cf41e43fdd3bf423fd0b
libbe(3)/bectl(8): Make consistent with beadm

vermaden (maintainer of beadm) points out the following inconsistencies:
- "missing command" is not printed prior to usage if the error is simply a
   missing command; this should be obvious from the context
- "bectl rename" isn't using the "don't unmount" flag (zfs rename -u), so
   the active BE can't be renamed. It doesn't make sense in our context to
   *not* use -u, so use it.

Documentation updates reflect the above and note an inconsistency with the
'destroy' command that is consistent with other parts of the base system.

A fix for libbe(3) not properly being installed to /lib is included.
SHLIBDIR should have been added when it was moved in r337995.

Approved by: re (kib)
ObsoleteFiles.inc
lib/libbe/Makefile
lib/libbe/be.c
lib/libbe/libbe.3
sbin/bectl/bectl.8
sbin/bectl/bectl.c
tools/build/mk/OptionalObsoleteFiles.inc