Add deprecation message for xfs_check and suggest to use xfs_repair -n
instead.
Signed-off-by: Chandra Seetharaman <sekharan@us.ibm.com>
Reviewed-by: Rich Johnston <rjohnston@sgi.com>
Signed-off-by: Rich Johnston <rjohnston@sgi.com>
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
.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