Blame SOURCES/e2fsprogs-1.44.4-resize2fs-Remove-the-real-kilobytes-rant-from-man-pa.patch

5ce3dc
From 7d802cb9cbcaccb178c7695024e53804a807cda1 Mon Sep 17 00:00:00 2001
5ce3dc
From: Lukas Czerner <lczerner@redhat.com>
5ce3dc
Date: Thu, 19 Jul 2018 10:39:38 +0200
5ce3dc
Subject: [PATCH 01/10] resize2fs: Remove the real kilobytes rant from man page
5ce3dc
5ce3dc
Remove the rant about the "real" kilobytes from the man page and just
5ce3dc
make it more clear that the suffixed units are representing power-of-two
5ce3dc
units as we do in mke2fs man page. Also add terabytes to the list.
5ce3dc
5ce3dc
Signed-off-by: Lukas Czerner <lczerner@redhat.com>
5ce3dc
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
5ce3dc
---
5ce3dc
 resize/resize2fs.8.in | 16 ++++------------
5ce3dc
 1 file changed, 4 insertions(+), 12 deletions(-)
5ce3dc
5ce3dc
diff --git a/resize/resize2fs.8.in b/resize/resize2fs.8.in
5ce3dc
index 3f0674ce..ae365770 100644
5ce3dc
--- a/resize/resize2fs.8.in
5ce3dc
+++ b/resize/resize2fs.8.in
5ce3dc
@@ -46,24 +46,16 @@ If no units are specified, the units of the
5ce3dc
 parameter shall be the filesystem blocksize of the filesystem.
5ce3dc
 Optionally, the
5ce3dc
 .I size
5ce3dc
-parameter may be suffixed by one of the following the units
5ce3dc
-designators: 's', 'K', 'M', or 'G',
5ce3dc
-for 512 byte sectors, kilobytes, megabytes, or gigabytes, respectively.
5ce3dc
-The
5ce3dc
+parameter may be suffixed by one of the following units
5ce3dc
+designators: 'K', 'M', 'G', 'T' (either upper-case or lower-case) or 's'
5ce3dc
+for power-of-two kilobytes, megabytes, gigabytes, terabytes or 512 byte
5ce3dc
+sectors respectively. The
5ce3dc
 .I size
5ce3dc
 of the filesystem may never be larger than the size of the partition.
5ce3dc
 If
5ce3dc
 .I size
5ce3dc
 parameter is not specified, it will default to the size of the partition.
5ce3dc
 .PP
5ce3dc
-Note: when kilobytes is used above, I mean
5ce3dc
-.IR real ,
5ce3dc
-power-of-2 kilobytes, (i.e., 1024 bytes), which some politically correct
5ce3dc
-folks insist should be the stupid-sounding ``kibibytes''.  The same
5ce3dc
-holds true for megabytes, also sometimes known as ``mebibytes'', or
5ce3dc
-gigabytes, as the amazingly silly ``gibibytes''.  Makes you want to
5ce3dc
-gibber, doesn't it?
5ce3dc
-.PP
5ce3dc
 The
5ce3dc
 .B resize2fs
5ce3dc
 program does not manipulate the size of partitions.  If you wish to enlarge
5ce3dc
-- 
5ce3dc
2.17.2
5ce3dc