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)
Fri, Oct 17, 6:16 AM
Unknown Object (File)
Tue, Oct 14, 5:59 AM
Unknown Object (File)
Sep 14 2025, 10:58 PM
Unknown Object (File)
Sep 14 2025, 4:31 PM
Unknown Object (File)
Aug 31 2025, 12:56 PM
Unknown Object (File)
Jul 20 2025, 2:54 PM
Unknown Object (File)
Jul 3 2025, 3:47 PM
Unknown Object (File)
Jun 30 2025, 3:49 PM
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.