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, Mar 25, 1:46 AM
Unknown Object (File)
Tue, Mar 24, 11:08 PM
Unknown Object (File)
Tue, Mar 24, 2:34 AM
Unknown Object (File)
Thu, Mar 19, 2:22 PM
Unknown Object (File)
Wed, Mar 18, 11:06 AM
Unknown Object (File)
Fri, Mar 13, 1:41 AM
Unknown Object (File)
Wed, Mar 11, 5:05 PM
Unknown Object (File)
Mar 1 2026, 9:34 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.