[Ocfs2-tools-devel] [PATCH] libocfs2: Better error message for unsupported features.

Joel Becker Joel.Becker at oracle.com
Thu Jan 3 17:32:41 PST 2008


The unsupported feature error codes are used both for unsupported
features on a filesystem and unsupported features specified as command
line options.  The error string only spoke of filesystems, so it was
confusing when the filesystem is fine and the option string is not.

Signed-off-by: Joel Becker <joel.becker at oracle.com>
---
 libocfs2/ocfs2_err.et |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libocfs2/ocfs2_err.et b/libocfs2/ocfs2_err.et
index c29c925..3742976 100644
--- a/libocfs2/ocfs2_err.et
+++ b/libocfs2/ocfs2_err.et
@@ -55,10 +55,10 @@ ec	OCFS2_ET_CORRUPT_SUPERBLOCK,
 	"The OCFS2 superblock is corrupt"
 
 ec	OCFS2_ET_UNSUPP_FEATURE,
-	"Filesystem has unsupported feature(s)"
+	"Unsupported feature(s) found"
 
 ec	OCFS2_ET_RO_UNSUPP_FEATURE,
-	"Filesystem has unsupported read-only feature(s)"
+	"Unsupported read-only feature(s) found"
 
 ec	OCFS2_ET_BAD_INODE_MAGIC,
 	"Bad magic number in inode"
-- 
1.5.2.2


-- 

"We will have to repent in this generation not merely for the
 vitriolic words and actions of the bad people, but for the 
 appalling silence of the good people."
	- Rev. Dr. Martin Luther King, Jr.

Joel Becker
Principal Software Developer
Oracle
E-mail: joel.becker at oracle.com
Phone: (650) 506-8127



More information about the Ocfs2-tools-devel mailing list