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.

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

Details

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