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