diff options
author | Kyle Evans <kevans@FreeBSD.org> | 2018-08-24 20:44:58 +0000 |
---|---|---|
committer | Kyle Evans <kevans@FreeBSD.org> | 2018-08-24 20:44:58 +0000 |
commit | 8369ba427a9a4db4c4886fb2a6d7a7dae00de707 (patch) | |
tree | 5fbe1998170a95f3add3ba27bdf5df4d4d168bab /sbin/bectl/bectl.8 | |
parent | 306abf0f35a0253765d7cf41e43fdd3bf423fd0b (diff) | |
download | src-8369ba427a9a4db4c4886fb2a6d7a7dae00de707.tar.gz src-8369ba427a9a4db4c4886fb2a6d7a7dae00de707.zip |
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)
Notes
Notes:
svn path=/head/; revision=338303
Diffstat (limited to 'sbin/bectl/bectl.8')
-rw-r--r-- | sbin/bectl/bectl.8 | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sbin/bectl/bectl.8 b/sbin/bectl/bectl.8 index e853126b6614..56ff28c71e13 100644 --- a/sbin/bectl/bectl.8 +++ b/sbin/bectl/bectl.8 @@ -18,7 +18,7 @@ .\" .\" $FreeBSD$ .\" -.Dd August 22, 2018 +.Dd August 24, 2018 .Dt BECTL 8 .Os .Sh NAME @@ -132,7 +132,8 @@ Destroys the given .Ar beName boot environment or .Ar beName@snapshot -snapshot. +snapshot without confirmation, unlike in +.Nm beadm . Specifying .Fl F will automatically unmount without confirmation. @@ -239,10 +240,11 @@ Mount at the specified .Ar mountpoint if provided. .It Cm rename Ar origBeName newBeName -Renames the given nonactive +Renames the given .Ar origBeName to the given .Ar newBeName . +The boot environment will not be unmounted in order for this rename to occur. .It Cm unjail Brq Ar jailID | jailName | beName Destroys the jail created from the given boot environment. .It Xo |