btrfs-progs: deprecate standalone btrfs-show-super

The functionality is now provided by 'inspect dump-super'.

Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
David Sterba 2016-11-22 16:34:44 +01:00
parent 74a95ec84c
commit 78939e5fe5
2 changed files with 5 additions and 2 deletions

View File

@ -179,11 +179,11 @@ progs = $(progs_install) btrfsck btrfs-corrupt-block
# install only selected
progs_install = btrfs mkfs.btrfs btrfs-debug-tree \
btrfs-map-logical btrfs-image btrfs-zero-log \
btrfs-find-root btrfstune btrfs-show-super \
btrfs-find-root btrfstune \
btrfs-select-super
# other tools, not built by default
progs_extra = btrfs-fragments btrfs-calc-size
progs_extra = btrfs-fragments btrfs-calc-size btrfs-show-super
progs_static = $(foreach p,$(progs),$(p).static)

View File

@ -27,6 +27,9 @@ int main(int argc, char **argv)
set_argv0(argv);
warning(
"\nthe tool has been deprecated, please use 'btrfs inspect-internal dump-super' instead\n");
if (argc > 1 && !strcmp(argv[1], "--help"))
usage(cmd_inspect_dump_super_usage);