From: Chandra Seetharaman Date: Wed, 17 Apr 2013 16:47:24 +0000 (+0000) Subject: xfsprogs: Add depraction message for xfs_check X-Git-Tag: v3.1.11~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=04e0266182839805213d8b1d94fd14d99e4a0420;p=thirdparty%2Fxfsprogs-dev.git xfsprogs: Add depraction message for xfs_check Add deprecation message for xfs_check and suggest to use xfs_repair -n instead. Signed-off-by: Chandra Seetharaman Reviewed-by: Rich Johnston Signed-off-by: Rich Johnston --- diff --git a/db/xfs_check.sh b/db/xfs_check.sh index c76b5403f..553da6393 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 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 620d0fc94..1654532b2 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