[Ocfs-tools-commits] mfasheh commits r191 - trunk/ocfs2/debugfs.ocfs2

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Mon Aug 2 22:16:04 CDT 2004


Author: mfasheh
Date: 2004-08-02 21:16:02 -0500 (Mon, 02 Aug 2004)
New Revision: 191

Modified:
   trunk/ocfs2/debugfs.ocfs2/bindraw.c
Log:
* include a patch by <john.l.villalovos at intel.com>:
Simple little patch to tell people to try the "--no-raw" flag if the raw
bind fails.

Fedora Core 2 ships with /dev/rawctl disabled by default, so this will
probably be a common error.



Modified: trunk/ocfs2/debugfs.ocfs2/bindraw.c
===================================================================
--- trunk/ocfs2/debugfs.ocfs2/bindraw.c	2004-08-03 02:12:04 UTC (rev 190)
+++ trunk/ocfs2/debugfs.ocfs2/bindraw.c	2004-08-03 02:16:02 UTC (rev 191)
@@ -59,7 +59,7 @@
 	}
 	else {
 		if ((fd = open("/dev/rawctl", O_RDWR)) == -1)
-			DBGFS_FATAL("Error opening /dev/rawctl.\n%s\n", strerror(errno));
+			DBGFS_FATAL("Error opening /dev/rawctl.\n%s\nMaybe you should use the --no-raw flag.\n", strerror(errno));
 
 		for (i = 1; i < 255; ++i) {
 			memset(&rcs, 0, sizeof(struct raw_config_request));



More information about the Ocfs-tools-commits mailing list