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)
Thu, Feb 6, 3:25 PM
Unknown Object (File)
Wed, Jan 29, 9:57 PM
Unknown Object (File)
Wed, Jan 29, 7:51 PM
Unknown Object (File)
Jan 14 2025, 4:07 PM
Unknown Object (File)
Jan 3 2025, 10:03 AM
Unknown Object (File)
Jan 2 2025, 5:30 PM
Unknown Object (File)
Nov 29 2024, 10:31 PM
Unknown Object (File)
Nov 24 2024, 3:22 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.