From patchwork Thu Jul 28 17:13:06 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jan Schmidt X-Patchwork-Id: 1017022 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter2.kernel.org (8.14.4/8.14.4) with ESMTP id p6SHDIhM030846 for ; Thu, 28 Jul 2011 17:13:18 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755923Ab1G1RNL (ORCPT ); Thu, 28 Jul 2011 13:13:11 -0400 Received: from mort.rzone.de ([81.169.144.234]:31246 "EHLO mort.rzone.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755914Ab1G1RNI (ORCPT ); Thu, 28 Jul 2011 13:13:08 -0400 Received: from gargravarr.store (gargravarr.store [192.168.42.236]) by mort.rzone.de (Postfix) with ESMTP id A5BF5A59; Thu, 28 Jul 2011 19:13:06 +0200 (MEST) Received: by gargravarr.store (Postfix, from userid 32566) id 8FC5AC099; Thu, 28 Jul 2011 19:13:06 +0200 (CEST) From: Jan Schmidt To: chris.mason@oracle.com, linux-btrfs@vger.kernel.org Subject: [PATCH v3 3/3] Btrfs-progs: added resolve commands to man page Date: Thu, 28 Jul 2011 19:13:06 +0200 Message-Id: <74379c998ed8dca88470bd888977d9f67ceb199c.1311872885.git.list.btrfs@jan-o-sch.net> X-Mailer: git-send-email 1.7.3.4 In-Reply-To: References: In-Reply-To: References: Sender: linux-btrfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter2.kernel.org [140.211.167.43]); Thu, 28 Jul 2011 17:13:18 +0000 (UTC) Added "inspect-internal inode-resolve" and "inspect-internal logical-resolve" to the btrfs(8) man page. Signed-off-by: Jan Schmidt --- man/btrfs.8.in | 29 +++++++++++++++++++++++++++++ 1 files changed, 29 insertions(+), 0 deletions(-) diff --git a/man/btrfs.8.in b/man/btrfs.8.in index 84a60cd..6e0568b 100644 --- a/man/btrfs.8.in +++ b/man/btrfs.8.in @@ -51,6 +51,11 @@ btrfs \- control a btrfs filesystem .PP \fBbtrfs\fP \fBscrub status\fP [-d] {\fI\fP|\fI\fP} .PP +\fBbtrfs\fP \fBinspect-internal inode-resolve\fP [-v] \fI\fP \fI\fP +.PP +\fBbtrfs\fP \fBinspect-internal logical-resolve\fP +[-Pv] \fI\fP \fI\fP +.PP \fBbtrfs\fP \fBhelp|\-\-help|\-h \fP\fI\fP .PP \fBbtrfs\fP \fB \-\-help \fP\fI\fP @@ -286,6 +291,30 @@ for that filesystem or device. .IP -d 5 Print separate statistics for each device of the filesystem. .RE +.TP + +\fBinspect-internal inode-resolve\fP [-v] \fI\fP \fI\fP +Resolves an in subvolume to all filesystem paths. +.RS + +\fIOptions\fR +.IP -v 5 +verbose mode. print count of returned paths and ioctl() return value +.RE +.TP + +\fBinspect-internal logical-resolve\fP [-Pv] \fI\fP \fI\fP +Resolves a address in the filesystem mounted at to all inodes. +By default, each inode is then resolved to a file system path (similar to the +\fBinode-resolve\fP subcommand). +.RS + +\fIOptions\fR +.IP -P 5 +skip the path resolving and print the inodes instead +.IP -v 5 +verbose mode. print count of returned paths and all ioctl() return values +.RE .PP