linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Goffredo Baroncelli <kreijack@gmail.com>
To: David Nicol <davidnicol@gmail.com>
Cc: "linux-btrfs" <linux-btrfs@vger.kernel.org>
Subject: Re: reserving an IOCTL number; other details
Date: Mon, 13 Sep 2010 22:22:09 +0200	[thread overview]
Message-ID: <201009132222.10227.kreijack@libero.it> (raw)
In-Reply-To: <AANLkTi=RFO1kQEQ3FJYJ2XBYh4++TDYakrLxhoQDwA3k@mail.gmail.com>

On Monday, 13 September, 2010, David Nicol wrote:
> https://btrfs.wiki.kernel.org/index.php/Category:Documentation does
> not mention any btrfs command. the btrfsctl command has the -c sync
> tool, and the tools for creating and deleting snapshots and
> subvolumes, so it seems that unless this btrfs program does all of
> that I have amended the right tool to provide a command line access to
> a new ioctl that waits for deleted subvolume cleanups to finish.

$ /sbin/btrfs help
Usage:
        btrfs subvolume snapshot <source> [<dest>/]<name>
                Create a writable snapshot of the subvolume <source> with
                the name <name> in the <dest> directory.
        btrfs subvolume delete <subvolume>
                Delete the subvolume <subvolume>.
        btrfs subvolume create [<dest>/]<name>
                Create a subvolume in <dest> (or the current directory if
                not passed).
        btrfs subvolume list <path>
                List the snapshot/subvolume of a filesystem.
        btrfs subvolume find-new <path> <last_gen>
                List the recently modified files in a filesystem.
        btrfs filesystem defragment [-vcf] [-s start] [-l len] [-t size] 
<file>|<dir> [<file>|<dir>...]
                Defragment a file or a directory.
        btrfs subvolume set-default <id> <path>
                Set the subvolume of the filesystem <path> which will be 
mounted
                as default.
        btrfs filesystem sync <path>
                Force a sync on the filesystem <path>.
        btrfs filesystem resize [+/-]<newsize>[gkm]|max <filesystem>
                Resize the file system. If 'max' is passed, the filesystem
                will occupe all available space on the device.
        btrfs filesystem show [<uuid>|<label>]
                Show the info of a btrfs filesystem. If no <uuid> or <label>
                is passed, info of all the btrfs filesystem are shown.
        btrfs filesystem df <path>
                Show space usage information for a mount point
                .
        btrfs filesystem balance <path>
                Balance the chunks across the device.
        btrfs device scan [<device> [<device>..]
                Scan all device for or the passed device for a btrfs
                filesystem.
        btrfs device add <dev> [<dev>..] <path>
                Add a device to a filesystem.
        btrfs device delete <dev> [<dev>..] <path>
                Remove a device from a filesystem.
                                                                                                 
        btrfs help|--help|-h                                                                     
                Show the help.                                                                   
                                                                                                 
Btrfs Btrfs v0.19                                            


> 
> Nothing on https://btrfs.wiki.kernel.org/index.php/Btrfsctl says
> anything about deprecation or obsolescence.
> 
> On Mon, Sep 13, 2010 at 12:23 PM, Goffredo Baroncelli
> <kreijack@gmail.com> wrote:
> > Hi David,
> >
> > please don't do that. "btrfsctl" is obsolete, now the develop should 
involve
> > the "btrfs" command.
> > I you need help in updating the "btrfs" command source files, don't 
hesitate
> > to contact me.
> >
> > Regards
> > G.Baroncelli
> 
> 


-- 
gpg key@ keyserver.linux.it: Goffredo Baroncelli (ghigo) <kreijack@inwind.it>
Key fingerprint = 4769 7E51 5293 D36C 814E  C054 BF04 F161 3DC5 0512

  parent reply	other threads:[~2010-09-13 20:22 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-12 19:40 reserving an IOCTL number; other details David Nicol
2010-09-12 22:08 ` David Nicol
2010-09-13 17:23   ` Goffredo Baroncelli
2010-09-13 20:15     ` David Nicol
2010-09-13 20:19       ` David Nicol
2010-09-13 20:22       ` Goffredo Baroncelli [this message]
2010-09-14 19:25       ` Updating the wiki pages adding btrfs command [Was Re: reserving an IOCTL number; other details] Goffredo Baroncelli
2010-09-15 14:10         ` David Nicol
2010-09-15 17:51           ` Goffredo Baroncelli
2010-09-15 18:35             ` David Nicol
2010-09-15 19:29               ` Goffredo Baroncelli
2010-09-15 18:41           ` Josh Berry
2010-09-15 20:54             ` David Nicol
2010-09-15 21:07               ` Updating the wiki pages adding btrfs command Chris Ball
2010-09-15 21:46                 ` Josh Berry
2010-09-15 21:52                   ` Chris Ball
2010-09-15 22:19                     ` Josh Berry
2010-09-15 22:31                     ` Sage Weil
2010-09-15 22:33                       ` Sage Weil
2010-09-15 22:37                       ` Chris Ball
2010-09-15 23:46                         ` Josh Berry

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201009132222.10227.kreijack@libero.it \
    --to=kreijack@gmail.com \
    --cc=davidnicol@gmail.com \
    --cc=kreijack@libero.it \
    --cc=linux-btrfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).