From patchwork Wed Feb 9 10:53:26 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hubert Kario X-Patchwork-Id: 543711 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p19ArgXh014502 for ; Wed, 9 Feb 2011 10:53:43 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752054Ab1BIKxf (ORCPT ); Wed, 9 Feb 2011 05:53:35 -0500 Received: from dervish.wsisiz.edu.pl ([213.135.44.54]:43663 "EHLO dervish.wsisiz.edu.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751119Ab1BIKxe (ORCPT ); Wed, 9 Feb 2011 05:53:34 -0500 Received: from localhost (localhost.localdomain [127.0.0.1]) by dervish.wsisiz.edu.pl (Postfix) with ESMTP id 3610EC5415A for ; Wed, 9 Feb 2011 11:53:32 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wit.edu.pl; h= message-id:content-transfer-encoding:content-type:content-type :mime-version:user-agent:date:date:subject:subject:from:from :received:received; s=amavisd; t=1297248810; bh=K/icKKCfiW/mz/Ee 5CaI9fv7BnbCWRhvAexCtrJI9g4=; b=Yk7JqGyu+wAV0Y5mhAAYyzDKUiqQgFql kLxDdpHWeLei1u1x9r2dHqFhIIbtfc3quPg6XmhcsxK91rrLZ7aw0g4Ocxv/j6v5 aoRFape5Zn7PHhkxltvRH+v5XM47nX5mTWUK4qkVADtliTsivz+VDG4KkXBKVvMn RHQXKbdZQ5U= X-Virus-Scanned: amavisd-new at wit.edu.pl Received: from dervish.wsisiz.edu.pl ([127.0.0.1]) by localhost (dervish.wsisiz.edu.pl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id De2jNp-9CmlB for ; Wed, 9 Feb 2011 11:53:30 +0100 (CET) Received: from bursa23.localnet (bursa22.wsisiz.edu.pl [213.135.49.150]) by dervish.wsisiz.edu.pl (Postfix) with ESMTPSA id C25C1C54159 for ; Wed, 9 Feb 2011 11:53:30 +0100 (CET) From: Hubert Kario To: linux-btrfs@vger.kernel.org Subject: [PATCH] explain filesystem resize devid option Date: Wed, 9 Feb 2011 11:53:26 +0100 User-Agent: KMail/1.13.6 (Linux/2.6.37-ARCH; KDE/4.6.0; i686; ; ) MIME-Version: 1.0 Message-Id: <201102091153.27190.kario@wit.edu.pl> Sender: linux-btrfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Wed, 09 Feb 2011 10:53:43 +0000 (UTC) diff --git a/btrfs.c b/btrfs.c index bd6f6f8..a28a573 100644 --- a/btrfs.c +++ b/btrfs.c @@ -98,10 +98,14 @@ static struct Command commands[] = { NULL }, { do_resize, 2, - "filesystem resize", "[+/-][gkm]|max \n" + "filesystem resize", "[:][+|-][gkm]|max \n" "Resize the file system. If 'max' is passed, the filesystem\n" - "will occupe all available space on the device.", - NULL + "will occupy all available space on the device.", + "[:][+|-][gkm]|max \n" + "Resize the file system. If no is specified, change is\n" + "applied to every device in file system. If devid is specified\n" + "the change in size is applied only to selected device.\n" + "To get device numbers use `btrfs filesystem show\' command." }, { do_show_filesystem, 999, "filesystem show", "[|