From patchwork Thu Jul 19 08:39:38 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lukas Czerner X-Patchwork-Id: 946115 Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=linux-ext4-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=redhat.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 41WSB834VTz9s21 for ; Thu, 19 Jul 2018 18:39:44 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726840AbeGSJVr (ORCPT ); Thu, 19 Jul 2018 05:21:47 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:39108 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726494AbeGSJVq (ORCPT ); Thu, 19 Jul 2018 05:21:46 -0400 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 00B1340201CA for ; Thu, 19 Jul 2018 08:39:42 +0000 (UTC) Received: from localhost.localdomain.com (ovpn-204-64.brq.redhat.com [10.40.204.64]) by smtp.corp.redhat.com (Postfix) with ESMTP id 5E7571C5B3; Thu, 19 Jul 2018 08:39:42 +0000 (UTC) From: Lukas Czerner To: linux-ext4@vger.kernel.org Cc: Lukas Czerner Subject: [PATCH] resize2fs: Remove the real kilobytes rant from man page Date: Thu, 19 Jul 2018 10:39:38 +0200 Message-Id: <20180719083938.13992-1-lczerner@redhat.com> X-Scanned-By: MIMEDefang 2.79 on 10.11.54.5 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.6]); Thu, 19 Jul 2018 08:39:43 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.6]); Thu, 19 Jul 2018 08:39:43 +0000 (UTC) for IP:'10.11.54.5' DOMAIN:'int-mx05.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'lczerner@redhat.com' RCPT:'' Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org 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 --- resize/resize2fs.8.in | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) 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