HomeFreeBSD

ctladm: don't require the use of "-p" with "port -r"

Description

ctladm: don't require the use of "-p" with "port -r"

When removing a port, the ioctl frontend requires the "-p" argument.
But other frontends, like cfiscsi, do not. So don't require that
argument in the ctladm command. The frontend driver will report an
error if any required argument is missing.

Sponsored by: Axcient
Reviewed by: mav
Pull Request: https://github.com/freebsd/freebsd-src/pull/1279

(cherry picked from commit edbd489d09babebdc6c03924a912013be584c409)

Details

Provenance
asomersAuthored on Jun 6 2024, 7:14 PM
Parents
rG259f94f8ab4f: ctladm: better documentation for adding and removing cfiscsi ports
Branches
Unknown
Tags
Unknown