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

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