Documentation/device-mapper: s/getsize/getsz/
authorMichael Witten <mfwitten@gmail.com>
Thu, 1 Sep 2016 19:38:30 +0000 (19:38 +0000)
committerJiri Kosina <jkosina@suse.cz>
Wed, 14 Dec 2016 09:54:27 +0000 (10:54 +0100)
commit95f21c5c6d8345f8253057b24a98adfbceb2aca1
treed66a08c2563fe039d4d09b45294b333c5285c533
parent3e5de27e940d00d8d504dfb96625fb654f641509
Documentation/device-mapper: s/getsize/getsz/

According to `man blockdev':

  --getsize
         Print device size (32-bit!) in sectors.
         Deprecated in favor of the --getsz option.
  ...
  --getsz
         Get size in 512-byte sectors.

Hence, occurrences of `--getsize' should be replaced with `--getsz',
which this commit has achieved as follows:

  $ cd "$repo"
  $ git grep -l -e --getsz
  Documentation/device-mapper/delay.txt
  Documentation/device-mapper/dm-crypt.txt
  Documentation/device-mapper/linear.txt
  Documentation/device-mapper/log-writes.txt
  Documentation/device-mapper/striped.txt
  Documentation/device-mapper/switch.txt
  $ cd Documentation/device-mapper
  $ sed -i s/getsize/getsz/g *

Signed-off-by: Michael Witten <mfwitten@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Documentation/device-mapper/delay.txt
Documentation/device-mapper/dm-crypt.txt
Documentation/device-mapper/linear.txt
Documentation/device-mapper/striped.txt
Documentation/device-mapper/switch.txt