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:
parent
74a95ec84c
commit
78939e5fe5
|
@ -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)
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue