btrfs-progs: deprecate standalone btrfs-calc-size
The functionality is now provided by 'inspect tree-stats'. Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
e5b7a27bf7
commit
74a95ec84c
|
@ -174,7 +174,7 @@ endif
|
|||
MAKEOPTS = --no-print-directory Q=$(Q)
|
||||
|
||||
# build all by default
|
||||
progs = $(progs_install) btrfsck btrfs-corrupt-block btrfs-calc-size
|
||||
progs = $(progs_install) btrfsck btrfs-corrupt-block
|
||||
|
||||
# install only selected
|
||||
progs_install = btrfs mkfs.btrfs btrfs-debug-tree \
|
||||
|
@ -182,7 +182,8 @@ progs_install = btrfs mkfs.btrfs btrfs-debug-tree \
|
|||
btrfs-find-root btrfstune btrfs-show-super \
|
||||
btrfs-select-super
|
||||
|
||||
progs_extra = btrfs-fragments
|
||||
# other tools, not built by default
|
||||
progs_extra = btrfs-fragments btrfs-calc-size
|
||||
|
||||
progs_static = $(foreach p,$(progs),$(p).static)
|
||||
|
||||
|
|
|
@ -25,6 +25,9 @@ int main(int argc, char **argv)
|
|||
{
|
||||
int ret;
|
||||
|
||||
warning(
|
||||
"\nthe tool has been deprecated, please use 'btrfs inspect-internal tree-stats' instead\n");
|
||||
|
||||
if (argc > 1 && !strcmp(argv[1], "--help"))
|
||||
usage(cmd_inspect_tree_stats_usage);
|
||||
|
||||
|
|
Loading…
Reference in New Issue