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)
Sat, May 4, 10:06 AM
Unknown Object (File)
Fri, May 3, 10:41 PM
Unknown Object (File)
Sat, Apr 27, 10:37 AM
Unknown Object (File)
Sat, Apr 27, 10:37 AM
Unknown Object (File)
Sat, Apr 27, 10:36 AM
Unknown Object (File)
Sat, Apr 27, 9:40 AM
Unknown Object (File)
Mar 22 2024, 8:32 PM
Unknown Object (File)
Mar 22 2024, 8:32 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.