Add deprecation message for xfs_check and suggest to use xfs_repair -n
instead.
Signed-off-by: Chandra Seetharaman <sekharan@xxxxxxxxxx>
---
diff --git a/db/xfs_check.sh b/db/xfs_check.sh
index c76b540..553da63 100755
--- a/db/xfs_check.sh
+++ b/db/xfs_check.sh
@@ -7,6 +7,9 @@ OPTS=" "
DBOPTS=" "
USAGE="Usage: xfs_check [-fsvV] [-l logdev] [-i ino]... [-b bno]... special"
+echo "xfs_check is deprecated and scheduled for removal in June 2014."
+echo "Please use xfs_repair -n <dev> instead."
+
while getopts "b:fi:l:stvV" c
do
case $c in
diff --git a/man/man8/xfs_check.8 b/man/man8/xfs_check.8
index 620d0fc..1654532 100644
--- a/man/man8/xfs_check.8
+++ b/man/man8/xfs_check.8
@@ -35,11 +35,11 @@ during the execution of
.BR xfs_check .
Otherwise, spurious problems are reported.
.PP
-Note that using
+Note that
.B xfs_check
-is NOT recommended. Please use
+is deprecated and scheduled for removal in June 2014. Please use
.BR xfs_repair " " \-n
-instead, for better scalability and speed.
+instead.
.SH
OPTIONS
.TP
|