From patchwork Fri Nov 2 10:15:39 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Goffredo Baroncelli X-Patchwork-Id: 1687801 Return-Path: X-Original-To: patchwork-linux-btrfs@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 44C62DF2A2 for ; Fri, 2 Nov 2012 10:15:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934636Ab2KBKPL (ORCPT ); Fri, 2 Nov 2012 06:15:11 -0400 Received: from mail-ea0-f174.google.com ([209.85.215.174]:35822 "EHLO mail-ea0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934600Ab2KBKPI (ORCPT ); Fri, 2 Nov 2012 06:15:08 -0400 Received: by mail-ea0-f174.google.com with SMTP id c13so1312463eaa.19 for ; Fri, 02 Nov 2012 03:15:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; bh=eG4wBbterxCN2uxnG7btCXQdNTr7XhW9DJuyXexaO/o=; b=gN3us9ZJyLmOJQJ/fG4b1Gde2Jmp3tHs9aI/z6sr9RDUMK9Ljw+LtcQLMqJS7D1rgS 3eHLEli6CNUXJ8QUACDthnXANRgggwMSfrCNakHw+LAgPAr3rIntsl6r/4E/XsFw2isW RYsRp9/9lI7+NO/6X999QB5xrB3SiVhw8kcMKSASvRWVSZHxm3qq6YJZy5Hvr71NloS1 02tW8WWyGtqVsMFfHPqkl8drOE8jnBn43uJ0SqObv02ettp0B5/qr0XKTh6mvTOHh7GX 63xomKSshnblODHqueXUQ2KUJwe9UuAdIbsngi1bh/ras3m737BoUeCVKE+YJ0VhS237 IwzQ== Received: by 10.14.0.68 with SMTP id 44mr5214306eea.1.1351851307568; Fri, 02 Nov 2012 03:15:07 -0700 (PDT) Received: from venice..bhome (host103-133-static.242-95-b.business.telecomitalia.it. [95.242.133.103]) by mx.google.com with ESMTPS id z43sm21873483een.16.2012.11.02.03.15.06 (version=SSLv3 cipher=OTHER); Fri, 02 Nov 2012 03:15:07 -0700 (PDT) From: Goffredo Baroncelli To: linux-btrfs@vger.kernel.org Cc: Hugo Mills , Michael =?utf-8?q?Kj=C3=B6rling?= , Martin Steigerwald , cwillu , Chris Murphy , Goffredo Baroncelli Subject: [PATCH 8/8] Create a new entry in btrfs man page for btrfs device disk-usage. Date: Fri, 2 Nov 2012 11:15:39 +0100 Message-Id: <1351851339-19150-9-git-send-email-kreijack@inwind.it> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1351851339-19150-1-git-send-email-kreijack@inwind.it> References: <1351851339-19150-1-git-send-email-kreijack@inwind.it> Sender: linux-btrfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org From: Goffredo Baroncelli Signed-off-by: Goffredo Baroncelli --- man/btrfs.8.in | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/man/btrfs.8.in b/man/btrfs.8.in index eabf0a8..a411ff8 100644 --- a/man/btrfs.8.in +++ b/man/btrfs.8.in @@ -44,6 +44,8 @@ btrfs \- control a btrfs filesystem .PP \fBbtrfs\fP \fBdevice delete\fP\fI [...] \fP .PP +\fBbtrfs\fP \fBdevice disk-usage\fP\fI [-b] [...] \fP +.PP \fBbtrfs\fP \fBscrub start\fP [-Bdqru] {\fI\fP|\fI\fP} .PP \fBbtrfs\fP \fBscrub cancel\fP {\fI\fP|\fI\fP} @@ -324,6 +326,12 @@ Add device(s) to the filesystem identified by \fI\fR. Remove device(s) from a filesystem identified by \fI\fR. .TP +\fBdevice disk-usage\fR\fI [-b] [..] \fR +Show which chunks are in a device. + +\fB-b\fP set byte as unit. +.TP + \fBdevice scan\fR \fI[--all-devices| [...]\fR If one or more devices are passed, these are scanned for a btrfs filesystem. If no devices are passed, \fBbtrfs\fR scans all the block devices listed