btrfs-progs: fix user-facing typos in docs and help strings
authorNicholas D Steeves <nsteeves@gmail.com>
Sun, 25 Sep 2016 01:26:41 +0000 (21:26 -0400)
committerDavid Sterba <dsterba@suse.com>
Mon, 3 Oct 2016 13:07:22 +0000 (15:07 +0200)
Signed-off-by: Nicholas D Steeves <nsteeves@gmail.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Documentation/btrfs-check.asciidoc
Documentation/btrfs-device.asciidoc
Documentation/btrfs-man5.asciidoc
Documentation/btrfs-scrub.asciidoc
Documentation/btrfstune.asciidoc
btrfs-convert.c
cmds-check.c

index abc9f0d..a32e1c7 100644 (file)
@@ -20,7 +20,7 @@ by the option '--readonly'.
 
 *btrfsck* is an alias of *btrfs check* command and is now deprecated.
 
-WARNING: Do not use '--repair' unless you are adviced to by a developer, an
+WARNING: Do not use '--repair' unless you are advised to by a developer, an
 experienced user or accept the fact that 'fsck' cannot possibly fix all sorts
 of damage that could happen to a filesystem because of software and hardware
 bugs.
index d05fc45..239c99b 100644 (file)
@@ -27,7 +27,7 @@ The device management works on a mounted filesystem. Devices can be added,
 removed or replaced, by commands profided by *btrfs device* and *btrfs replace*.
 
 The profiles can be also changed, provided there's enough workspace to do the
-conversion, using the *btrfs balance* comand and namely the filter 'convert'.
+conversion, using the *btrfs balance* command and namely the filter 'convert'.
 
 Profile::
 A profile describes an allocation policy based on the redundancy/replication
index caa9390..d12b059 100644 (file)
@@ -562,7 +562,7 @@ crw------- 1 root root 10, 234 Jan  1 12:00 /dev/btrfs-control
 The device accepts some ioctl calls that can perform following actions on the
 filesyste module:
 
-* scan devices for btrfs filesytem (ie. to let multi-device filesystems mount
+* scan devices for btrfs filesystem (ie. to let multi-device filesystems mount
   automatically) and register them with the kernel module
 * similar to scan, but also wait until the device scanning process is finished
   for a given filesystem
index e88e684..20a6da3 100644 (file)
@@ -20,7 +20,7 @@ structural damage in the filesystem.
 
 The user is supposed to run it manually or via a periodic system service. The
 recommended period is a month but could be less. The estimated device bandwidth
-utilization is about 80% on an idle filesytem. The IO priority class is by
+utilization is about 80% on an idle filesystem. The IO priority class is by
 default 'idle' so background scrub should not interfere with normal filesystem
 operation significantly.
 
index 1e9aa70..04295ee 100644 (file)
@@ -20,7 +20,7 @@ complete list of features and kernel version of their introduction at
 https://btrfs.wiki.kernel.org/index.php/Changelog#By_feature .  Also, the
 manual page `mkfs.btrfs`(8) contains more details about the features.
 
-Some of the features could be enabled on a mounted filesytem. Please refer to
+Some of the features could be enabled on a mounted filesystem. Please refer to
 the respective section in `btrfs`(5).
 
 OPTIONS
index a62d2f0..67e12b0 100644 (file)
@@ -3010,7 +3010,7 @@ static void print_usage(void)
        printf("\t-O|--features LIST     comma separated list of filesystem features\n");
        printf("\t--no-progress          show only overview, not the detailed progress\n");
        printf("\n");
-       printf("Suported filesystems:\n");
+       printf("Supported filesystems:\n");
        printf("\text2/3/4: %s\n", BTRFSCONVERT_EXT2 ? "yes" : "no");
 }
 
index 998ba63..670ccd1 100644 (file)
@@ -11220,14 +11220,14 @@ const char * const cmd_check_usage[] = {
        "--readonly                  run in read-only mode (default)",
        "--init-csum-tree            create a new CRC tree",
        "--init-extent-tree          create a new extent tree",
-       "--mode <MODE>               select mode, allows to make some memory/IO",
-       "                            trade-offs, where MODE is one of:",
+       "--mode <MODE>               allows choice of memory/IO trade-offs",
+       "                            where MODE is one of:",
        "                            original - read inodes and extents to memory (requires",
        "                                       more memory, does less IO)",
        "                            lowmem   - try to use less memory but read blocks again",
        "                                       when needed",
        "--check-data-csum           verify checksums of data blocks",
-       "-Q|--qgroup-report           print a report on qgroup consistency",
+       "-Q|--qgroup-report          print a report on qgroup consistency",
        "-E|--subvol-extents <subvolid>",
        "                            print subvolume extents and sharing state",
        "-r|--tree-root <bytenr>     use the given bytenr for the tree root",