Page MenuHomeFreeBSD

Bug 220710 - ctladm manpage incorrect
ClosedPublic

Authored by bcr on Jul 15 2017, 3:00 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Dec 24, 10:44 PM
Unknown Object (File)
Sat, Dec 6, 1:10 PM
Unknown Object (File)
Thu, Nov 27, 11:01 AM
Unknown Object (File)
Nov 23 2025, 1:53 PM
Unknown Object (File)
Nov 21 2025, 5:44 AM
Unknown Object (File)
Nov 21 2025, 5:44 AM
Unknown Object (File)
Nov 21 2025, 5:43 AM
Unknown Object (File)
Nov 21 2025, 5:42 AM
Subscribers

Details

Summary

From the PR:

The ctladm man page incorrectly duplicates content which is confusing. Under the "modify" subcommand it lists the same options as the "remove" subcommand:

modify       Modify a LUN size.  The backend, the LUN number, and the
                  size must be specified.

                  -l lun_id       Specify the LUN number to remove.


remove       Remove a LUN.  The backend must be specified, and the LUN
                  number must also be specified.  Backend-specific options may
                  also be specified with the -o flag.

                  -l lun_id       Specify the LUN number to remove.

I also found another instance of remove instead of modify, but wasn't sure whether this applies.

Test Plan
  1. Apply the patch to head/usr.sbin/ctladm/ctladm.8
  2. View the modified man page: man ./ctladm.8

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Jul 15 2017, 3:49 PM
This revision was automatically updated to reflect the committed changes.