Re: help message of btrfsctl does not tell anything about deletion of a subvolume

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, May 15, 2010 at 11:47 AM, Andreas Philipp
<philipp.andreas@xxxxxxxxx> 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)
>     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);
>

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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux