From patchwork Sat Feb 23 13:46:09 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Goffredo Baroncelli X-Patchwork-Id: 2178441 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 0F9EADFE86 for ; Sat, 23 Feb 2013 13:45:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759171Ab3BWNpj (ORCPT ); Sat, 23 Feb 2013 08:45:39 -0500 Received: from nm7.bullet.mail.ird.yahoo.com ([77.238.189.21]:27992 "HELO nm7.bullet.mail.ird.yahoo.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1759108Ab3BWNpV (ORCPT ); Sat, 23 Feb 2013 08:45:21 -0500 Received: from [77.238.189.50] by nm7.bullet.mail.ird.yahoo.com with NNFMP; 23 Feb 2013 13:45:19 -0000 Received: from [46.228.39.99] by tm3.bullet.mail.ird.yahoo.com with NNFMP; 23 Feb 2013 13:45:19 -0000 Received: from [127.0.0.1] by smtp136.mail.ir2.yahoo.com with NNFMP; 23 Feb 2013 13:45:19 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1361627119; bh=lM6MTLEmf/WuufAvPX3PA7Bu7E2GaSPcQjNxqMIRGzk=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:From:To:Cc:Subject:Date:Message-Id:X-Mailer:In-Reply-To:References; b=jm+kc9BUHRSKXSKiVJGSkJGM39XG1XVC/1PXliag99xRWzXG5bN88aGR0yaxXIWo4gbKNhuB45RBKs65jNvUIj6mRKBOuc7zzYWovY13cAlFt+HmalX06ZGpZh78RUQ24uVgvpsJZ+cr5dpwkqHa5mc9WJsDvNCchP5MYAi1gLQ= X-Yahoo-Newman-Id: 519980.89777.bm@smtp136.mail.ir2.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: 6OYl6dQVM1loaoYYHaAzENarm71MFe1TZ.RefLduCSFF4cv oPnH2rXclD4I2Be1irNSH02pC_alTd4DNEI5DUGL6ao2alQYsUPPmH1Fa99Y Zo2nyO6mgrue8bWagQm7QMOAHukXWtdZzGY.HMHApxoq36.UrPMquOA7QJr1 D_mauy8rnEKaHDNyxYVsk4YjlxDKxD4hSPr8Dl_ahLwtylDYNCLbSio_T5jk qLaEXEZYK..G4LOX2uqNO4_zpVjwgDTKm_S1Cjg6ou7Dmzp2lCKLbJptl7wn kVhq91hTToMC8TVjoLbfDHaa60N3oDaliXD_eC0xbLAHohLeiTWHSk5Im0yX UTkidRydz8ZafDH_bv3iNDrNtmoyOS8m0Dgoedr3P4LlLL84RJkalodZPsFN JmYRVxqrCHycmyoCEEjPZyHt7klomcyKhFQpjfmQtxFehYLP.JWtyqxQhlL_ qXNPgNfFjXQtLKVaSQtjO3tGAR6x9p_..gUovNKXo9vQY7G3v_a_Fpde6vzp lpctOf9s- X-Yahoo-SMTP: ssXiUn.swBDBJsD4bjmtGfj6buOv3E4378JD.MOD2Xo- Received: from venice..bhome (goffredo.baroncelli@95.242.133.103 with login) by smtp136.mail.ir2.yahoo.com with SMTP; 23 Feb 2013 13:45:19 +0000 UTC From: Goffredo Baroncelli To: linux-btrfs@vger.kernel.org Cc: Hugo Mills , Michael =?utf-8?q?Kj=C3=B6rling?= , Martin Steigerwald , cwillu , Chris Murphy , David Sterba , Zach Brown , Goffredo Baroncelli Subject: [PATCH 6/8] Create entry in man page for btrfs filesystem disk-usage Date: Sat, 23 Feb 2013 14:46:09 +0100 Message-Id: <1361627171-8246-7-git-send-email-goffredo.baroncelli@yahoo.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1361627171-8246-1-git-send-email-goffredo.baroncelli@yahoo.com> References: <1361627171-8246-1-git-send-email-goffredo.baroncelli@yahoo.com> 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 | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/man/btrfs.8.in b/man/btrfs.8.in index e2f86ea..50dc510 100644 --- a/man/btrfs.8.in +++ b/man/btrfs.8.in @@ -29,6 +29,9 @@ btrfs \- control a btrfs filesystem .PP \fBbtrfs\fP \fBfilesystem resize\fP\fI [devid:][+/\-][gkm]|[devid:]max \fP .PP +\fBbtrfs\fP \fBfilesystem filesystem disk-usage [-t][-b]\fP\fI +[path..]\fP +.PP \fBbtrfs\fP \fBfilesystem label\fP\fI [newlabel]\fP .PP \fBbtrfs\fP \fBfilesystem df\fP\fI [-b] \fIpath [path..]\fR\fP @@ -251,6 +254,16 @@ it with the new desired size. When recreating the partition make sure to use the same starting disk cylinder as before. .TP +\fBfilesystem disk-usage\fP [-t][-b] \fIpath [path..]\fR + +Show in which disk the chunks are allocated. + +\fB-b\fP Set byte as unit + +\fB-t\fP Show data in tabular format + +.TP + \fBfilesystem label\fP\fI [newlabel]\fP Show or update the label of a filesystem. \fI\fR is used to identify the filesystem.