From patchwork Sun Mar 10 12:17:37 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Goffredo Baroncelli X-Patchwork-Id: 2244421 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 84D7BE00E6 for ; Sun, 10 Mar 2013 12:16:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752640Ab3CJMQj (ORCPT ); Sun, 10 Mar 2013 08:16:39 -0400 Received: from nm7.bullet.mail.ird.yahoo.com ([77.238.189.21]:27567 "HELO nm7.bullet.mail.ird.yahoo.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1751987Ab3CJMQi (ORCPT ); Sun, 10 Mar 2013 08:16:38 -0400 Received: from [77.238.189.231] by nm7.bullet.mail.ird.yahoo.com with NNFMP; 10 Mar 2013 12:16:36 -0000 Received: from [217.146.188.160] by tm12.bullet.mail.ird.yahoo.com with NNFMP; 10 Mar 2013 12:16:36 -0000 Received: from [127.0.0.1] by smtp128.mail.ird.yahoo.com with NNFMP; 10 Mar 2013 12:16:36 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1362917796; 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=SOFDiz5BYS5THAH+oxBbQx6m5bL23uch0hOV/wiJT92qmAjaap4wY15gPXp8hskCvxdiJGKQHbNnbL4Ioi7FRfuWUJ+3PQZYQX06W7f5CnSpFf/BXJFXGve4Q4DRG1J5GjloY5MRyuN5z5ssiDBY+uqNtg83MaYJO17GCRYCG6o= X-Yahoo-Newman-Id: 704391.19778.bm@smtp128.mail.ird.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: J2Pl.mMVM1n8n.pzAREm3RZHPLnMVFa3kmz5WGbu7VObXGg 8AQXUHHE7plhaO6vdPm5M.QRwxKlhIa6hoDtYwslBiR3RAvIuw0h9tEZgC0r VyeJmLEl66v.A2ZsJU1bZVyXp8OLfNvJDReUg99LeYHtBhjkTi1rFZNDZT0t VlI1IoBQmwND_778.PYTNWkF_RB2AiwvHiz5h8GM6U.fcxD6ywytxmcf7Qyk uTzigI_q_Hws22hIaTKA1iuFak9y0o8gT5526cOP5aaWQX39kqonplRKux9H VxJLGg125JK2jy6gmm7wZVvZjHm5vvQBGgkPnu1qfaBuaN0EpA9tKaRxWaw2 Jj4Ha8ojeYdWQPHU5C0T2R3M6JA.XzItLqdzJXdC3fVOd19jLaKjEYB75cs2 5yGAsLSQbw7D2ljkwhbf_EE04oi3pHGvPZg6jZplYzz5nvETMckK1ghfKfoX T2u5rxVY9noc7yly.TcYJSSM6j_NaDE4ChFeQB9LgS4GZr00JPWnaa9nZb.4 xqD_gSk4- X-Yahoo-SMTP: ssXiUn.swBDBJsD4bjmtGfj6buOv3E4378JD.MOD2Xo- Received: from venice..bhome (goffredo.baroncelli@95.242.133.103 with login) by smtp128.mail.ird.yahoo.com with SMTP; 10 Mar 2013 05:16:36 -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 , David Sterba , Zach Brown , Goffredo Baroncelli Subject: [PATCH 6/8] Create entry in man page for btrfs filesystem disk-usage Date: Sun, 10 Mar 2013 13:17:37 +0100 Message-Id: <1362917859-18824-7-git-send-email-goffredo.baroncelli@yahoo.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1362917859-18824-1-git-send-email-goffredo.baroncelli@yahoo.com> References: <1362917859-18824-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.