public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] xfsprogs: Add depraction message for xfs_check
@ 2013-04-17 16:47 Chandra Seetharaman
  2013-04-19 12:56 ` Rich Johnston
  2013-04-19 12:58 ` Rich Johnston
  0 siblings, 2 replies; 3+ messages in thread
From: Chandra Seetharaman @ 2013-04-17 16:47 UTC (permalink / raw)
  To: XFS mailing list

Add deprecation message for xfs_check and suggest to use xfs_repair -n
instead.

Signed-off-by: Chandra Seetharaman <sekharan@us.ibm.com>
---
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


_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-04-19 12:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-17 16:47 [PATCH] xfsprogs: Add depraction message for xfs_check Chandra Seetharaman
2013-04-19 12:56 ` Rich Johnston
2013-04-19 12:58 ` Rich Johnston

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox