From patchwork Mon Feb 18 21:04:31 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Goffredo Baroncelli X-Patchwork-Id: 2160421 Return-Path: X-Original-To: patchwork-linux-btrfs@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 458263FCFC for ; Mon, 18 Feb 2013 21:04:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756053Ab3BRVEI (ORCPT ); Mon, 18 Feb 2013 16:04:08 -0500 Received: from nm4.bullet.mail.ird.yahoo.com ([77.238.189.61]:41496 "HELO nm4.bullet.mail.ird.yahoo.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1755798Ab3BRVEF (ORCPT ); Mon, 18 Feb 2013 16:04:05 -0500 Received: from [77.238.189.230] by nm4.bullet.mail.ird.yahoo.com with NNFMP; 18 Feb 2013 21:04:03 -0000 Received: from [46.228.39.42] by tm11.bullet.mail.ird.yahoo.com with NNFMP; 18 Feb 2013 21:04:03 -0000 Received: from [127.0.0.1] by smtp175.mail.ir2.yahoo.com with NNFMP; 18 Feb 2013 21:04:03 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1361221443; bh=kHEFLsr+FtbCMG680qKt/U5UoYK8VH1Vk/1rpB8jPv8=; 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:Reply-to; b=s8sE2Qe/JjJTjfVeWt8LXtwYX0DAoYEoQiZiJuS4UGRKAtxXAdcf5jfnzrmiEONq+pkiUSY698DNVHVf7YFGtinxvdBo21TlTI9N2Fz+zFEpIfUcHkzBZV7THFas11tnjT2sPpc6gjs1LWfZ86Y8694VeoPV/xPkFRqKV+f25kU= X-Yahoo-Newman-Id: 826227.7055.bm@smtp175.mail.ir2.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: TzKqsLkVM1ktWNA7poBpitFk4a9BMe0CvViq7VcRL8jl2WR O8argijIbR72VzuE376cdq_q3yW8HUuw95u18MVHW87uoEAYUlqGWJ5TCQ6z MNOI1FhdhDsil5DVHwGwGt.HCIw_W7m7nhpf.mp38KM9o3uqP71MEd7OW8Wz gqUyuWdbdNYrKM.1YBn31Xjf3_AoJ14DAXwKm2dY8Y_1o3jS3j5mIImuQJs4 xdUBsktCGlNsR823b4S61Jlu72AoQTNU64KYfY76x2F4kpTK.IMsUS.sdEvW 8TYcjudb3C5SDEskltdKclm_K0Hjq.4uGQrZbpWAunNsmjsCrub0K4DQCX0l GG3flYSXuC10gdcTk7OgeZ9Ce1h6HxjCXo_j74z0b2s2G16UEOtm_84wO1ar XsyETcFIHmSpLbqLaOdgllH94QxONScO9H_e6.Uje_yW0TVj28AOiz4DSOy2 uR8wQ4JD8ru_7hEqvDb_VL48Ou8zJvB6g4HYb7ivUbzOwLheHODZGaISKxKY Ip1_A5Mo- X-Yahoo-SMTP: ssXiUn.swBDBJsD4bjmtGfj6buOv3E4378JD.MOD2Xo- Received: from venice..bhome (goffredo.baroncelli@95.242.133.103 with login) by smtp175.mail.ir2.yahoo.com with SMTP; 18 Feb 2013 21:04:03 +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 Subject: [PATCH 6/8] Create entry in man page for btrfs filesystem disk-usage Date: Mon, 18 Feb 2013 22:04:31 +0100 Message-Id: <1361221473-20347-7-git-send-email-goffredo.baroncelli@yahoo.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1361221473-20347-1-git-send-email-goffredo.baroncelli@yahoo.com> References: <1361221473-20347-1-git-send-email-goffredo.baroncelli@yahoo.com> Reply-to: kreijack@inwind.it Sender: linux-btrfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org 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.