Trivial bugfix and spelling fixes.

And here's another trivial bugfix, now for spelling mistakes in various
places, authred by Sergey Kirpichev (Cc'ed) and carried in debian mdadm
package.


Signed-off-by: NeilBrown <neilb@suse.de>
This commit is contained in:
Michael Tokarev 2012-10-20 15:44:14 +04:00 committed by NeilBrown
parent 30d4815971
commit dae45415a9
5 changed files with 4 additions and 30 deletions

View File

@ -171,7 +171,7 @@ int Build(char *mddev, struct mddev_dev *devlist,
goto abort; goto abort;
} }
if ((stb.st_mode & S_IFMT)!= S_IFBLK) { if ((stb.st_mode & S_IFMT)!= S_IFBLK) {
pr_err("Wierd: %s is no longer a block device.\n", pr_err("Weird: %s is no longer a block device.\n",
dv->devname); dv->devname);
goto abort; goto abort;
} }

2
md.4
View File

@ -801,7 +801,7 @@ without a superblock.
.I n .I n
gives the md device number, gives the md device number,
.I l .I l
gives the level, 0 for RAID0 or -1 for LINEAR, gives the level, 0 for RAID0 or \-1 for LINEAR,
.I c .I c
gives the chunk size as a base-2 logarithm offset by twelve, so 0 gives the chunk size as a base-2 logarithm offset by twelve, so 0
means 4K, 1 means 8K. means 4K, 1 means 8K.

View File

@ -332,7 +332,6 @@ Options are:
.IP "0, 0.90, default" .IP "0, 0.90, default"
.el .el
.IP "0, 0.90" .IP "0, 0.90"
..
Use the original 0.90 format superblock. This format limits arrays to Use the original 0.90 format superblock. This format limits arrays to
28 component devices and limits component devices of levels 1 and 28 component devices and limits component devices of levels 1 and
greater to 2 terabytes. It is also possible for there to be confusion greater to 2 terabytes. It is also possible for there to be confusion
@ -342,7 +341,6 @@ last partition, if that partition starts on a 64K boundary.
.IP "1, 1.0, 1.1, 1.2" .IP "1, 1.0, 1.1, 1.2"
.el .el
.IP "1, 1.0, 1.1, 1.2 default" .IP "1, 1.0, 1.1, 1.2 default"
..
Use the new version-1 format superblock. This has fewer restrictions. Use the new version-1 format superblock. This has fewer restrictions.
It can easily be moved between hosts with different endian-ness, and a It can easily be moved between hosts with different endian-ness, and a
recovery operation can be checkpointed and restarted. The different recovery operation can be checkpointed and restarted. The different
@ -934,30 +932,6 @@ This is meaningful with
or or
.BR \-\-build . .BR \-\-build .
.ig XX
.\".TP
.\".BR \-\-symlink = no
.\"Normally when
.\".B \-\-auto
.\"causes
.\".I mdadm
.\"to create devices in
.\".B /dev/md/
.\"it will also create symlinks from
.\".B /dev/
.\"with names starting with
.\".B md
.\"or
.\".BR md_ .
.\"Use
.\".B \-\-symlink=no
.\"to suppress this, or
.\".B \-\-symlink=yes
.\"to enforce this even if it is suppressing
.\".IR mdadm.conf .
.\"
.XX
.TP .TP
.BR \-a ", " "\-\-add" .BR \-a ", " "\-\-add"
This option can be used in Grow mode in two cases. This option can be used in Grow mode in two cases.

View File

@ -573,7 +573,7 @@ CREATE group=system mode=0640 auto=part\-8
.br .br
HOMEHOST <system> HOMEHOST <system>
.br .br
AUTO +1.x homehost -all AUTO +1.x homehost \-all
.SH SEE ALSO .SH SEE ALSO
.BR mdadm (8), .BR mdadm (8),

View File

@ -445,7 +445,7 @@ static int update_super0(struct supertype *st, struct mdinfo *info,
sb32+MD_SB_GENERIC_CONSTANT_WORDS+7+1, sb32+MD_SB_GENERIC_CONSTANT_WORDS+7+1,
(MD_SB_WORDS - (MD_SB_GENERIC_CONSTANT_WORDS+7+1))*4); (MD_SB_WORDS - (MD_SB_GENERIC_CONSTANT_WORDS+7+1))*4);
if (verbose >= 0) if (verbose >= 0)
pr_err("adjusting superblock of %s for 2.2/sparc compatability.\n", pr_err("adjusting superblock of %s for 2.2/sparc compatibility.\n",
devname); devname);
} else if (strcmp(update, "super-minor") ==0) { } else if (strcmp(update, "super-minor") ==0) {
sb->md_minor = info->array.md_minor; sb->md_minor = info->array.md_minor;