* help message of btrfsctl does not tell anything about deletion of a subvolume
@ 2010-05-15 18:47 Andreas Philipp
2010-05-15 22:42 ` Mike Fedyk
0 siblings, 1 reply; 2+ messages in thread
From: Andreas Philipp @ 2010-05-15 18:47 UTC (permalink / raw)
To: linux-btrfs
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)
printf("\t-A device: scans the device file for a Btrfs filesystem\n");
printf("\t-a: scans all devices for Btrfs filesystems\n");
printf("\t-c: forces a single FS sync\n");
- printf("\t-D: delete snapshot\n");
+ printf("\t-D: delete snapshot or subvolume\n");
printf("\t-m [tree id] directory: set the default mounted subvolume"
" to the [tree id] or the directory\n");
printf("%s\n", BTRFS_BUILD_VERSION);
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: help message of btrfsctl does not tell anything about deletion of a subvolume
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
0 siblings, 0 replies; 2+ messages in thread
From: Mike Fedyk @ 2010-05-15 22:42 UTC (permalink / raw)
To: Andreas Philipp; +Cc: linux-btrfs
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-05-15 22:42 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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 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).