help message of btrfsctl does not tell anything about deletion of a subvolume
Hi,
The help message of the btrfsctl command does not tell anything about the deletion of a subvolume. See patch below.
Kind regards,
Andreas
btrfsctl.c +1 -1
@@ -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 );
Quoted 13 lines · Andreas Philipp
Hi,
The help message of the btrfsctl command does not tell anything about the deletion of a subvolume. See patch below.
Kind regards,
Andreasbtrfsctl.c +0
-0@@ -56,7 +56,7 @@ static void print_usage(void)
Quoted 1 line
=C2=A0 =C2=A0 printf("\t-A device: scans the device file for a Btrfs =
filesystem\n");
Quoted 1 line
=C2=A0 =C2=A0 printf("\t-a: scans all devices for Btrfs filesystems\n=
");
Quoted 4 lines
=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"
Quoted 1 line
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0" to the [tree id] or the di=
rectory\n");
Quoted 2 lines
=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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html