From patchwork Tue Oct 13 13:38:48 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jan Kara X-Patchwork-Id: 1381597 Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=23.128.96.18; helo=vger.kernel.org; envelope-from=linux-ext4-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=suse.cz Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by ozlabs.org (Postfix) with ESMTP id 4C9c8D2zW4z9sTr for ; Wed, 14 Oct 2020 00:38:52 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728751AbgJMNiv (ORCPT ); Tue, 13 Oct 2020 09:38:51 -0400 Received: from mx2.suse.de ([195.135.220.15]:54312 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727245AbgJMNiv (ORCPT ); Tue, 13 Oct 2020 09:38:51 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 2EC9AB17C; Tue, 13 Oct 2020 13:38:50 +0000 (UTC) Received: by quack2.suse.cz (Postfix, from userid 1000) id E38CF1E12FB; Tue, 13 Oct 2020 15:38:49 +0200 (CEST) From: Jan Kara To: Ted Tso Cc: , Jan Kara Subject: [PATCH] mke2fs.8: Improve valid block size documentation Date: Tue, 13 Oct 2020 15:38:48 +0200 Message-Id: <20201013133848.23287-1-jack@suse.cz> X-Mailer: git-send-email 2.16.4 Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org Explain which valid block sizes mke2fs supports in more detail. Signed-off-by: Jan Kara Reviewed-by: Andreas Dilger --- misc/mke2fs.8.in | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/misc/mke2fs.8.in b/misc/mke2fs.8.in index e6bfc6d6fd2d..0814d216f3a4 100644 --- a/misc/mke2fs.8.in +++ b/misc/mke2fs.8.in @@ -207,10 +207,11 @@ manual page for more details. .SH OPTIONS .TP .BI \-b " block-size" -Specify the size of blocks in bytes. Valid block-size values are 1024, -2048 and 4096 bytes per block. If omitted, -block-size is heuristically determined by the filesystem size and -the expected usage of the filesystem (see the +Specify the size of blocks in bytes. Valid block-size values are powers of two +from 1024 up to 65536 (however note that the kernel is able to mount only +filesystems with block-size smaller or equal to the system page size - 4k on +x86 systems). If omitted, block-size is heuristically determined by the +filesystem size and the expected usage of the filesystem (see the .B \-T option). If .I block-size