diff mbox series

resize2fs: Remove the real kilobytes rant from man page

Message ID 20180719083938.13992-1-lczerner@redhat.com
State Accepted, archived
Headers show
Series resize2fs: Remove the real kilobytes rant from man page | expand

Commit Message

Lukas Czerner July 19, 2018, 8:39 a.m. UTC
Remove the rant about the "real" kilobytes from the man page and just
make it more clear that the suffixed units are representing power-of-two
units as we do in mke2fs man page. Also add terabytes to the list.

Signed-off-by: Lukas Czerner <lczerner@redhat.com>
---
 resize/resize2fs.8.in | 16 ++++------------
 1 file changed, 4 insertions(+), 12 deletions(-)

Comments

Theodore Ts'o July 22, 2018, 7:03 p.m. UTC | #1
On Thu, Jul 19, 2018 at 10:39:38AM +0200, Lukas Czerner wrote:
> Remove the rant about the "real" kilobytes from the man page and just
> make it more clear that the suffixed units are representing power-of-two
> units as we do in mke2fs man page. Also add terabytes to the list.
> 
> Signed-off-by: Lukas Czerner <lczerner@redhat.com>

Applied, thanks.

					- Ted
diff mbox series

Patch

diff --git a/resize/resize2fs.8.in b/resize/resize2fs.8.in
index 3f0674ce..ae365770 100644
--- a/resize/resize2fs.8.in
+++ b/resize/resize2fs.8.in
@@ -46,24 +46,16 @@  If no units are specified, the units of the
 parameter shall be the filesystem blocksize of the filesystem.
 Optionally, the
 .I size
-parameter may be suffixed by one of the following the units
-designators: 's', 'K', 'M', or 'G',
-for 512 byte sectors, kilobytes, megabytes, or gigabytes, respectively.
-The
+parameter may be suffixed by one of the following units
+designators: 'K', 'M', 'G', 'T' (either upper-case or lower-case) or 's'
+for power-of-two kilobytes, megabytes, gigabytes, terabytes or 512 byte
+sectors respectively. The
 .I size
 of the filesystem may never be larger than the size of the partition.
 If
 .I size
 parameter is not specified, it will default to the size of the partition.
 .PP
-Note: when kilobytes is used above, I mean
-.IR real ,
-power-of-2 kilobytes, (i.e., 1024 bytes), which some politically correct
-folks insist should be the stupid-sounding ``kibibytes''.  The same
-holds true for megabytes, also sometimes known as ``mebibytes'', or
-gigabytes, as the amazingly silly ``gibibytes''.  Makes you want to
-gibber, doesn't it?
-.PP
 The
 .B resize2fs
 program does not manipulate the size of partitions.  If you wish to enlarge