Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1490023pxk; Fri, 25 Sep 2020 16:54:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyKZ8fqDfehjp3uFpT3QtHCCRlAfVPdOMSh8SFXgSk4ZiC1KrIULIiGi0iUgUoiR0uOcmXx X-Received: by 2002:a17:906:bc47:: with SMTP id s7mr5507738ejv.354.1601078072263; Fri, 25 Sep 2020 16:54:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601078072; cv=none; d=google.com; s=arc-20160816; b=BmQ1o0xnf0I3A7MPboM3accBfGEAhGGtjajBsDAUVqFWWK3Bxg3lO5Ug7BNrBcNQuA Kp9phyX9rx8699hwGYIyV1K5hqWXjeVeAm2hVMusY/aGAFxhOPY27A9kZlBFJ5NHCSvP kAlghi6yvoSUBdpHdIOqv0pgHuidv7c88YbiO68eFaB2IIsHh+WBAMkTdRXvUqTDTdPv cwBY4iZbfjvZEdKTYR0sRofMpmgKxOdaT8O3Rb6FfAg2SDGM4uWLXQ9VO//ZCzPN12Cw lUtw30Q/umhB7WqCIXLnUJWtZi49ZkJstLyKlLdaCGvuFpIOIS4RGRldnvFZW/LMJw1H P9bg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :mime-version:user-agent:date:message-id:from:references:to:subject :dkim-signature; bh=JP6Ybqay8w2ogy6GkZkzKHs02fD5lS/jrVFWGNyGu10=; b=Z1A0RULoVyylDdMPKvx+PDbuhcJgElybpYrq4GYMe5sXiDiGlDKTuLJE/DY+/AiIHD pk6WU9ddtTR5KoQh4k6LunIRPNF+59aA+mAm7oTPhhoYFbPyzdC3U5m41fDg5Fa6GlHX EyjekGN052gpkeUAIOL6Io/2Zjy5ILwG3Yp1ray9+FeWhB8P0qiPU4/PPLNKlHvGxFyT 8JhPb0oJAKs6zQ02Pm0vy1r+Yqv3mloW/+ksWNSd/ZSAgu/ohK1HYqxGfhIBLIk853ZX MBmWr4xlg7C6o9snOKsWmrgKba9kiDQr9vB3i6s6iMj1SeDucG20adWxpm14QBDIwbou pF5Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=svmIVoCy; 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 u12si2914448ejj.566.2020.09.25.16.54.09; Fri, 25 Sep 2020 16:54:32 -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=svmIVoCy; 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 S1729560AbgIYXvP (ORCPT + 99 others); Fri, 25 Sep 2020 19:51:15 -0400 Received: from mail.kernel.org ([198.145.29.99]:54618 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726316AbgIYXvO (ORCPT ); Fri, 25 Sep 2020 19:51:14 -0400 Received: from [192.168.0.108] (unknown [49.65.245.23]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 52ED12086A; Fri, 25 Sep 2020 23:51:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1601077874; bh=AnoaLjW2T6AYP8LU4qjZcI4e10DD7MaqQAW8psn5yPA=; h=Subject:To:References:From:Date:In-Reply-To:From; b=svmIVoCyXf7OAiRBGSbvGiyel3iYVkVF8HrnmYNC3TYo8dfHqnl4R463jyMCGrdq6 7SMnDXvaV4KMAHRE6Q9YrZCA8i1ot1TX7jop8BRbHLhZ0OfV9Ul/nt0Pd0yxaZG+jq 3CPzwjTC4j18rI38vratMOk7dbDQmoA8lTrnfRqM= Subject: Re: [f2fs-dev] [PATCH] f2fs: point man pages for some f2fs utils To: Jaegeuk Kim , linux-kernel@vger.kernel.org, kernel-team@android.com, linux-f2fs-devel@lists.sourceforge.net References: <20200925232256.4136799-1-jaegeuk@kernel.org> <20200925232608.GC4136545@google.com> From: Chao Yu Message-ID: <8c6ab915-1bb8-608e-9cc4-2883962deb79@kernel.org> Date: Sat, 26 Sep 2020 07:51:09 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <20200925232608.GC4136545@google.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2020-9-26 7:26, Jaegeuk Kim wrote: > On 09/25, Jaegeuk Kim wrote: >> 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. Can merge with above section? I noticed that ("f2fs: Documentation edits/fixes") from Randy Dunlap has fixed this, but I think we'd better revise this in-development patch as much as possible before upstreaming it. Otherwise, it looks good to me. Reviewed-by: Chao Yu Thanks, >> + >> +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 > > > _______________________________________________ > Linux-f2fs-devel mailing list > Linux-f2fs-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel >