]> git.ipfire.org Git - thirdparty/mdadm.git/commitdiff
Trivial bugfix and spelling fixes.
authorMichael Tokarev <mjt@tls.msk.ru>
Sat, 20 Oct 2012 11:44:14 +0000 (15:44 +0400)
committerNeilBrown <neilb@suse.de>
Sun, 21 Oct 2012 23:30:45 +0000 (10:30 +1100)
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>
Build.c
md.4
mdadm.8.in
mdadm.conf.5
super0.c

diff --git a/Build.c b/Build.c
index 4338e190d9270ee0e990ad6b20aa53ca9255f817..1245c99d35df8501e42ba325ac6b2d6fe5313cf1 100644 (file)
--- a/Build.c
+++ b/Build.c
@@ -174,7 +174,7 @@ int Build(char *mddev, int chunk, int level, int layout,
                        goto abort;
                }
                if ((stb.st_mode & S_IFMT)!= S_IFBLK) {
-                       fprintf(stderr, Name ": Wierd: %s is no longer a block device.\n",
+                       fprintf(stderr, Name ": Weird: %s is no longer a block device.\n",
                                dv->devname);
                        goto abort;
                }
diff --git a/md.4 b/md.4
index 99faad1ac50c48a3592b7ac27e5c1a8d20070923..681e8bef0272a26f001730ed8c8f9235f97fea23 100644 (file)
--- a/md.4
+++ b/md.4
@@ -773,7 +773,7 @@ without a superblock.
 .I n
 gives the md device number,
 .I l
-gives the level, 0 for RAID0 or -1 for LINEAR,
+gives the level, 0 for RAID0 or \-1 for LINEAR,
 .I c
 gives the chunk size as a base-2 logarithm offset by twelve, so 0
 means 4K, 1 means 8K.
index 1a7cba7e62c681541deb20aa4acc099356c96ed4..a842605b5bf02f7890497f980e6251fa73733ddd 100644 (file)
@@ -332,7 +332,6 @@ Options are:
 .IP "0, 0.90, default"
 .el
 .IP "0, 0.90"
-..
 Use the original 0.90 format superblock.  This format limits arrays to
 28 component devices and limits component devices of levels 1 and
 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"
 .el
 .IP "1, 1.0, 1.1, 1.2 default"
-..
 Use the new version-1 format superblock.  This has fewer restrictions.
 It can easily be moved between hosts with different endian-ness, and a
 recovery operation can be checkpointed and restarted.  The different
@@ -888,30 +886,6 @@ This is meaningful with
 or
 .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
 .BR \-a ", " "\-\-add"
 This option can be used in Grow mode in two cases.
index c142a2fe9bedd64eed4d03a4fcc66185cf0fe8b6..48822df86e1e73623698299c903a9f41a8693bc7 100644 (file)
@@ -573,7 +573,7 @@ CREATE group=system mode=0640 auto=part\-8
 .br
 HOMEHOST <system>
 .br
-AUTO +1.x homehost -all
+AUTO +1.x homehost \-all
 
 .SH SEE ALSO
 .BR mdadm (8),
index ca4c08204ff879e657789561f84a924fc52d91e4..bbf7a180339cd3116ed3dd28fda2c0dc6bdb2004 100644 (file)
--- a/super0.c
+++ b/super0.c
@@ -445,7 +445,7 @@ static int update_super0(struct supertype *st, struct mdinfo *info,
                       sb32+MD_SB_GENERIC_CONSTANT_WORDS+7+1,
                       (MD_SB_WORDS - (MD_SB_GENERIC_CONSTANT_WORDS+7+1))*4);
                if (verbose >= 0)
-                       fprintf (stderr, Name ": adjusting superblock of %s for 2.2/sparc compatability.\n",
+                       fprintf (stderr, Name ": adjusting superblock of %s for 2.2/sparc compatibility.\n",
                                 devname);
        } else if (strcmp(update, "super-minor") ==0) {
                sb->md_minor = info->array.md_minor;