From mboxrd@z Thu Jan 1 00:00:00 1970 From: Goffredo Baroncelli Subject: [PATCH 0/2] btrfs: a new tool to manage a btrfs filesystem Date: Fri, 12 Feb 2010 20:01:09 +0100 Message-ID: <201002122001.09898.kreijack@libero.it> Mime-Version: 1.0 Content-Type: Text/Plain; charset=utf-8 To: linux-btrfs@vger.kernel.org, Chris Mason Return-path: List-ID: Hi all, enclosed in the next two emails you can find two patches which introduc= e a new program called=20 "btrfs". This program has the ambitious to replace the utilities of the= btrfs-prog package, like: - btrfsctl - btrfs-show - btrfs-volume - btrfs The goals are: - improve the usability of the tools=20 - add a man page which documents all the commands - correct the btrfsctl return codes I put a lot of attentions in order to avoid regression respect the old = tools. A clone of my git repository is available at http://cassiopea.homelinux.net/git/btrfs-command.git Comments are welcome. BR Goffredo --- Example of use: $ ./btrfs ERROR: no command passed Usage: btrfs snapshot|-s [/] Create a writeble snapshot of the subvolume with the name in the directory. btrfs delete|-D Delete the subvolume . btrfs create|-S [/] Create a subvolume in (or the current directory = if not passed. btrfs defrag|-d | [|...] Defragment a file or a directory. btrfs fssync|-c Force a fs sync on the filesystem btrfs resize|-r [+/-][gkm]|max Resize the file system. If 'max' is passed, the filesys= tem will occupe all available space on the device. btrfs scan|-a [ [..] Scan all device for or the passed device for a btrfs filesystem. btrfs show|-l |