Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1478475pxk; Fri, 25 Sep 2020 16:27:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw0XZm20sfx7lFUKxo1HDsXFSTezaa8y4OUMIb0v+sGYptWUh9Rj/DET5sVn9fWG7alNbdV X-Received: by 2002:aa7:d697:: with SMTP id d23mr4076349edr.13.1601076426351; Fri, 25 Sep 2020 16:27:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601076426; cv=none; d=google.com; s=arc-20160816; b=Bc3cZ5K0qErdkMI/8PTvaxw2EaiFnKq3jWiFLAkKSiuEVS4AzujIgUDAMX9IJlGVQc HMn5V5NuU3QiEZc3jJ+1KaaCQ4gdZ7tII+TqIOsp3JzWQlXflkNKzmmSTmWJ+JiHGS4+ Nj7wlBqPkfSfy+fEFF5EOlggUuEL+L+2cmhZRlvOIDpbsNTl4EMmDJ1SkLdKsG6ZLTiR 7puZir9pMwY+hc+MVS/d580+uILX1F6/9xGXrn5rCfeHD92bTEwTcVNhHa1bdLjDuQmC Dx/Qq7uIGopmc8YWu4r+/LvHbBRA2KVtkhIMRoU0rjq4hzTv73o4uJfb4OuyVvX2ovKS pRQQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=946KH3EBzf0XNi60molDeniMzD5z7bcl8FHDSTPwHaU=; b=oFJXprMkxYphFQotKCSWehEq7U1awgVvsvCeLjAZqCy4np7eQ8IxNBrUiNMj6DkSEE 2RDKQYnxjxXQEvltN3I18DV5EcZ0OVc6uwImrWQQkcW5aNQYNjVNz9SKXin9VvTrNRPD twxDJ/EFrGjONusosTbGyCqSSAKRMBYZbO7Rc/wZ2gQwHlFwmrKwnhwHEXN8ZwNn0tT+ 4gTZUzhQxRDhpiPLlVcRKjkiJkRAF+P0I1s5s0p5j+LAgVDBc1dM8BJsRJVSEJEZXqD+ A3aGkVydhtJrkuZeKebN9sATbU2mgG54WR7zfAXpIvcoX5/A5xbc998ohgaaESHeTkz2 bV7A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=1JDXPPZa; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e24si2971573ejx.162.2020.09.25.16.26.41; Fri, 25 Sep 2020 16:27:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=1JDXPPZa; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729022AbgIYXW6 (ORCPT + 99 others); Fri, 25 Sep 2020 19:22:58 -0400 Received: from mail.kernel.org ([198.145.29.99]:41322 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728606AbgIYXW6 (ORCPT ); Fri, 25 Sep 2020 19:22:58 -0400 Received: from localhost (unknown [104.132.1.66]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 7751F2076B; Fri, 25 Sep 2020 23:22:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1601076177; bh=rmPLvtVKOQ6jecrchlehuJ98I7SN1V0oigRX8tG7HmI=; h=From:To:Cc:Subject:Date:From; b=1JDXPPZaOcCSkxbu8Ilhdj9Z+YjQdfYwBbtQGC8qJXD3dlAqQXjvTQfa+XWeVC0/5 Rd1Ak4gI4gy2oLYSgDqUsI8tv5BuUmLLnuRHoT0Y1ZfOJp41bEHcV9//Z4ckrY4W3P Aj58gttNY2t5B0HCieSNjgKDjh94osu19lq10rnU= From: Jaegeuk Kim To: linux-kernel@vger.kernel.org, kernel-team@android.com Cc: Jaegeuk Kim Subject: [PATCH] f2fs: point man pages for some f2fs utils Date: Fri, 25 Sep 2020 16:22:56 -0700 Message-Id: <20200925232256.4136799-1-jaegeuk@kernel.org> X-Mailer: git-send-email 2.28.0.681.g6f77f65b4e-goog MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch adds some missing contexts related to f2fs-tools in f2fs documentation. Signed-off-by: Jaegeuk Kim --- Documentation/filesystems/f2fs.rst | 46 ++++++++++++++++++++++++++++-- 1 file changed, 44 insertions(+), 2 deletions(-) diff --git a/Documentation/filesystems/f2fs.rst b/Documentation/filesystems/f2fs.rst index 0f37c7443d5c5..2b3aef2f5fa1f 100644 --- a/Documentation/filesystems/f2fs.rst +++ b/Documentation/filesystems/f2fs.rst @@ -315,7 +315,7 @@ mkfs.f2fs The mkfs.f2fs is for the use of formatting a partition as the f2fs filesystem, which builds a basic on-disk layout. -The options consist of: +The quick options consist of: =============== =========================================================== ``-l [label]`` Give a volume label, up to 512 unicode name. @@ -337,6 +337,8 @@ The options consist of: 1 is set by default, which conducts discard. =============== =========================================================== +Note that, please refer manpage of mkfs.f2fs(8) to get full option list. + fsck.f2fs --------- The fsck.f2fs is a tool to check the consistency of an f2fs-formatted @@ -344,10 +346,12 @@ partition, which examines whether the filesystem metadata and user-made data are cross-referenced correctly or not. Note that, initial version of the tool does not fix any inconsistency. -The options consist of:: +The quick options consist of:: -d debug level [default:0] +Note that, please refer manpage of fsck.f2fs(8) to get full option list. + dump.f2fs --------- The dump.f2fs shows the information of specific inode and dumps SSA and SIT to @@ -371,6 +375,44 @@ Examples:: # dump.f2fs -s 0~-1 /dev/sdx (SIT dump) # dump.f2fs -a 0~-1 /dev/sdx (SSA dump) +Note that, please refer manpage of dump.f2fs(8) to get full option list. + +sload.f2fs +---------- +The sload.f2fs gives a way to insert files and directories in the exisiting disk +image. This tool is useful when building f2fs images given compiled files. + +Note that, please refer manpage of sload.f2fs(8) to get full option list. + +resize.f2fs +----------- +The resize.f2fs can be used when user want to resize the f2fs-formatted disk +image, while keeping the stored files and directories. + +Note that, please refer manpage of resize.f2fs(8) to get full option list. + +resize.f2fs +----------- +The resize.f2fs let user resize the f2fs-formatted disk image, while preserving +all the files and directories stored in the image. + +Note that, please refer manpage of resize.f2fs(8) to get full option list. + +defrag.f2fs +----------- +The defrag.f2fs can be used to defragmente scattered writtend data as well as +filesystem metadata across the disk. This can improve the write speed by giving +more free consecutive space. + +Note that, please refer manpage of defrag.f2fs(8) to get full option list. + +f2fs_io +------- +The f2fs_io is a simple tool to issue various filesystem APIs as well as +f2fs-specific ones, which is very useful for QA tests. + +Note that, please refer manpage of f2fs_io(8) to get full option list. + Design ====== -- 2.28.0.681.g6f77f65b4e-goog