Skip to content
  • Michael Witten's avatar
    Documentation/device-mapper: s/getsize/getsz/ · 95f21c5c
    Michael Witten authored
    
    
    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: default avatarMichael Witten <mfwitten@gmail.com>
    Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
    95f21c5c