From patchwork Thu Sep 1 13:05:59 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jan Schmidt X-Patchwork-Id: 1119092 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 p81D6A0Z017582 for ; Thu, 1 Sep 2011 13:06:10 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932370Ab1IANGE (ORCPT ); Thu, 1 Sep 2011 09:06:04 -0400 Received: from mort.rzone.de ([81.169.144.234]:46675 "EHLO mort.rzone.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932366Ab1IANGB (ORCPT ); Thu, 1 Sep 2011 09:06:01 -0400 Received: from gargravarr.store (gargravarr.store [192.168.42.236]) by mort.rzone.de (Postfix) with ESMTP id 6F1A1849; Thu, 1 Sep 2011 15:05:59 +0200 (MEST) Received: by gargravarr.store (Postfix, from userid 32566) id 54918C098; Thu, 1 Sep 2011 15:05:59 +0200 (CEST) From: Jan Schmidt To: chris.mason@oracle.com, linux-btrfs@vger.kernel.org Cc: hugo@carfax.org.uk Subject: [PATCH v4 3/3] Btrfs-progs: added resolve commands to man page Date: Thu, 1 Sep 2011 15:05:59 +0200 Message-Id: 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, 01 Sep 2011 13:06:10 +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