summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.in4
-rw-r--r--btrfs-show-super.c3
2 files changed, 5 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in
index db5c8de4..3698d387 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -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)
diff --git a/btrfs-show-super.c b/btrfs-show-super.c
index 3e2ceb58..f97f83ba 100644
--- a/btrfs-show-super.c
+++ b/btrfs-show-super.c
@@ -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);