HomeFreeBSD

bectl: push space-in-name check down into libbe

Description

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.

Reported By: Christian McDonald <cmcdonald netgate com>
Reviewed by: rew, jwmaag_gmail.com (earlier version)
Differential Revision: https://reviews.freebsd.org/D34605

Details

Provenance
kevansAuthored on Apr 3 2022, 2:04 AM
Reviewer
rew
Differential Revision
D34605: bectl: push space-in-name check down into libbe
Parents
rG6833ac673d98: bsdinstall netconfig: Replace dialog(1) with bsddialog(1)
Branches
Unknown
Tags
Unknown