linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Mike Fedyk <mfedyk@mikefedyk.com>
To: Andreas Philipp <philipp.andreas@gmail.com>
Cc: linux-btrfs <linux-btrfs@vger.kernel.org>
Subject: Re: help message of btrfsctl does not tell anything about deletion of a subvolume
Date: Sat, 15 May 2010 15:42:58 -0700	[thread overview]
Message-ID: <AANLkTilPrTJkoa0KHVrGCLQE_RZP_IAuMqm_DrCeGfl9@mail.gmail.com> (raw)
In-Reply-To: <4BEEEC28.7020100@gmail.com>

On Sat, May 15, 2010 at 11:47 AM, Andreas Philipp
<philipp.andreas@gmail.com> wrote:
> Hi,
>
> The help message of the btrfsctl command does not tell anything about
> the deletion of a subvolume. See patch below.
>
> Kind regards,
> Andreas
>
> diff --git a/btrfsctl.c b/btrfsctl.c
> index be6bf25..3ed6f2d 100644
> --- a/btrfsctl.c
> +++ b/btrfsctl.c
> @@ -56,7 +56,7 @@ static void print_usage(void)
> =C2=A0 =C2=A0 printf("\t-A device: scans the device file for a Btrfs =
filesystem\n");
> =C2=A0 =C2=A0 printf("\t-a: scans all devices for Btrfs filesystems\n=
");
> =C2=A0 =C2=A0 printf("\t-c: forces a single FS sync\n");
> - =C2=A0 =C2=A0printf("\t-D: delete snapshot\n");
> + =C2=A0 =C2=A0printf("\t-D: delete snapshot or subvolume\n");
> =C2=A0 =C2=A0 printf("\t-m [tree id] directory: set the default mount=
ed subvolume"
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0" to the [tree id] or the di=
rectory\n");
> =C2=A0 =C2=A0 printf("%s\n", BTRFS_BUILD_VERSION);
>

We have a new command "btrfs subvolume delete <path>" which can be
shortened even as far as "btrfs s d <path>".

Are we going to keep the btrfsctl program indefinitely when we have a
replacement in the "btrfs" program?
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" =
in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

      reply	other threads:[~2010-05-15 22:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-15 18:47 help message of btrfsctl does not tell anything about deletion of a subvolume Andreas Philipp
2010-05-15 22:42 ` Mike Fedyk [this message]

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=AANLkTilPrTJkoa0KHVrGCLQE_RZP_IAuMqm_DrCeGfl9@mail.gmail.com \
    --to=mfedyk@mikefedyk.com \
    --cc=linux-btrfs@vger.kernel.org \
    --cc=philipp.andreas@gmail.com \
    /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).