Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 3FC1EC04AB2 for ; Wed, 20 Sep 2023 16:41:51 +0000 (UTC) Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4RrPSY5PrJz3cGG for ; Thu, 21 Sep 2023 02:41:49 +1000 (AEST) Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=linux.alibaba.com (client-ip=115.124.30.98; helo=out30-98.freemail.mail.aliyun.com; envelope-from=hsiangkao@linux.alibaba.com; receiver=lists.ozlabs.org) Received: from out30-98.freemail.mail.aliyun.com (out30-98.freemail.mail.aliyun.com [115.124.30.98]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4RrPSR4R14z2yGv for ; Thu, 21 Sep 2023 02:41:41 +1000 (AEST) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R151e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018045168;MF=hsiangkao@linux.alibaba.com;NM=1;PH=DS;RN=2;SR=0;TI=SMTPD_---0VsVaYri_1695228089; Received: from e69b19392.et15sqa.tbsite.net(mailfrom:hsiangkao@linux.alibaba.com fp:SMTPD_---0VsVaYri_1695228089) by smtp.aliyun-inc.com; Thu, 21 Sep 2023 00:41:35 +0800 From: Gao Xiang To: linux-erofs@lists.ozlabs.org Subject: [PATCH] erofs-utils: manpages: update new options of mkfs.erofs Date: Thu, 21 Sep 2023 00:41:28 +0800 Message-Id: <20230920164128.1637554-1-hsiangkao@linux.alibaba.com> X-Mailer: git-send-email 2.39.3 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: linux-erofs@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development of Linux EROFS file system List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Gao Xiang Errors-To: linux-erofs-bounces+linux-erofs=archiver.kernel.org@lists.ozlabs.org Sender: "Linux-erofs" -b block-size -E ^xattr-name-filter --gzip --tar=[fi] --xattr-prefix=X Signed-off-by: Gao Xiang --- man/mkfs.erofs.1 | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/man/mkfs.erofs.1 b/man/mkfs.erofs.1 index 1cfde28..5dd718d 100644 --- a/man/mkfs.erofs.1 +++ b/man/mkfs.erofs.1 @@ -26,6 +26,11 @@ compression level (1 to 12 for LZ4HC, 0 to 9 for LZMA and 100 to 109 for LZMA extreme compression) separated by a comma. Alternative algorithms could be specified and separated by colons. .TP +.BI "\-b " block-size +Set the fundamental block size of the filesystem in bytes. In other words, +specify the smallest amount of data that can be accessed at a time. The +default is the system page size. It cannot be less than 512 bytes. +.TP .BI "\-C " max-pcluster-size Specify the maximum size of compress physical cluster in bytes. This may cause the big pcluster feature to be enabled (Linux v5.13+). @@ -79,6 +84,9 @@ for compatibility with Linux pre-v5.4. .BI noinline_data Don't inline regular files to enable FSDAX for these files (Linux v5.15+). .TP +.B ^xattr-name-filter +Turn off/on xattr name filter to optimize negative xattr lookups (Linux v6.6+). +.TP .BI ztailpacking Pack the tail part (pcluster) of compressed files into its metadata to save more space and the tail part I/O. (Linux v5.17+) @@ -152,6 +160,9 @@ When this option is used together with the final file gids are set to \fIGID\fR + \fIGID-OFFSET\fR. .TP +.B \-\-gzip +Filter tarball streams through gzip. +.TP .B \-\-help Display help string and exit. .TP @@ -169,12 +180,24 @@ Use extended inodes instead of compact inodes if the file modification time would overflow compact inodes. This is the default. Overrides .BR --ignore-mtime . .TP +.B "\-\-tar=f" +Generate a full EROFS image from a tarball. +.TP +.B "\-\-tar=i" +Generate an meta-only EROFS image from a tarball. +.TP .BI "\-\-uid-offset=" UIDOFFSET Add \fIUIDOFFSET\fR to all file UIDs. When this option is used together with .BR --force-uid , the final file uids are set to \fIUID\fR + \fIUIDOFFSET\fR. +.TP +.BI "\-\-xattr-prefix=" PREFIX +Specify a customized extended attribute namespace prefix for space saving, +e.g. "trusted.overlay.". You may give multiple +.B --xattr-prefix +options. (Linux v6.4+) .SH AUTHOR This version of \fBmkfs.erofs\fR is written by Li Guifu , Miao Xie and Gao Xiang with -- 2.39.3