From patchwork Fri Nov 2 10:15:37 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Goffredo Baroncelli X-Patchwork-Id: 1687781 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 ACC283FD2B for ; Fri, 2 Nov 2012 10:15:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934546Ab2KBKPG (ORCPT ); Fri, 2 Nov 2012 06:15:06 -0400 Received: from mail-ee0-f46.google.com ([74.125.83.46]:48646 "EHLO mail-ee0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932906Ab2KBKPF (ORCPT ); Fri, 2 Nov 2012 06:15:05 -0400 Received: by mail-ee0-f46.google.com with SMTP id b15so1719880eek.19 for ; Fri, 02 Nov 2012 03:15:04 -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=ejexNFd3j4jCUk30uvB3ClBqB1G52o2KcMHoF2f5EYA=; b=UUA9qdNldnqqV9YDMkeCwSM8N2Lw2y90SuWNZITjmKd/fYkl6ggiftAcbhfC0/y0sX Mp3TJhDNblVyODbej3UyKF1TkxxvNbeem1DYFerA7bVYFQTfhUDE/TNP7C5iFKJFkUjZ ccHQiaPARNxtrt01kA/IDUHYb62vNfsJu0oUuABcER3zi4Me1WMazRiCpDI83aBKmcFQ SH3FBMGtIk3TsRC3+cs4nbd25Vq4iSHazieBL5UkobPYUa8ssL9b6O/FI7H/Q0GzYXfL LTwBbTRAKb/6x8u77TAC/za7sT5Ql8BtLdqCYZ4c/U0m8EBkRBo3XUzPciNhXXDtNpHk wyLQ== Received: by 10.14.225.71 with SMTP id y47mr5220064eep.0.1351851304809; Fri, 02 Nov 2012 03:15:04 -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.03 (version=SSLv3 cipher=OTHER); Fri, 02 Nov 2012 03:15:04 -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 6/8] Create entry in man page for btrfs filesystem disk-usage Date: Fri, 2 Nov 2012 11:15:37 +0100 Message-Id: <1351851339-19150-7-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 | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/man/btrfs.8.in b/man/btrfs.8.in index 27d0160..eabf0a8 100644 --- a/man/btrfs.8.in +++ b/man/btrfs.8.in @@ -25,6 +25,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 @@ -227,6 +230,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.