typo in output of 'sudo mdadm --manage --help'

Bug #2037232 reported by Glen Cooper
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mdadm (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

<nit>
There is a very small typo in the output of the following command;

20230924T211320Z: crystamped@mab:~$ sudo mdadm --manage --help
Usage: mdadm arraydevice options component devices...

This usage is for managing the component devices within an array.
The --manage option is not needed and is assumed if the first argument
is a device name or a management option.
The first device listed will be taken to be an md array device, any
subsequent devices are (potential) components of that array.

Options that are valid with management mode are:
  --add -a : hotadd subsequent devices to the array
  --re-add : subsequent devices are re-added if there were
                     : recent members of the array
  --remove -r : remove subsequent devices, which must not be active
  --fail -f : mark subsequent devices a faulty
  --set-faulty : same as --fail
  --replace : mark device(s) to be replaced by spares. Once
                     : replacement completes, device will be marked faulty
  --with : Indicate which spare a previous '--replace' should
                     : prefer to use
  --run -R : start a partially built array
  --stop -S : deactivate array, releasing all resources
  --readonly -o : mark array as readonly
  --readwrite -w : mark array as readwrite
20230924T211507Z: crystamped@mab:~$

"mark subsequent devices a faulty" should probably read, "mark subsequent devices as faulty".

20230924T211507Z: crystamped@mab:~$ lsb_release -rd
Description: Ubuntu 20.04.6 LTS
Release: 20.04
20230924T212309Z: crystamped@mab:~$ sudo mdadm --version
mdadm - v4.1 - 2018-10-01
20230924T212330Z: crystamped@mab:~$

20230924T212434Z: crystamped@mab:~$ sudo apt-cache policy mdadm
mdadm:
  Installed: 4.1-5ubuntu1.2
  Candidate: 4.1-5ubuntu1.2
  Version table:
 *** 4.1-5ubuntu1.2 500
        500 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     4.1-5ubuntu1 500
        500 http://us.archive.ubuntu.com/ubuntu focal/main amd64 Packages
20230924T212443Z: crystamped@mab:~$

</nit>

tags: added: bitesize focal jammy lunar mantic string-fix
Changed in mdadm (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.