diff -r 72505c2f828d heartbeat/Filesystem
--- a/heartbeat/Filesystem	Wed Nov 18 10:43:36 2009 +0900
+++ b/heartbeat/Filesystem	Thu Nov 19 10:02:11 2009 +0900
@@ -217,7 +217,7 @@
 
 ocfs2_del_cache() {
 	if [ -e "$_OCFS2_uuid_cache" ]; then
-		rm -f $_OCFS2_uuid_cache 2>/dev/null
+		rm -f $_OCFS2_uuid_cache 
 	fi
 }
 
@@ -396,13 +396,13 @@
 		# Insert SCSI module
 		# TODO: This probably should go away. Why should the filesystem
 		# RA magically load a kernel module?
-		$MODPROBE scsi_hostadapter >/dev/null 2>&1
+		$MODPROBE scsi_hostadapter >/dev/null 
 
 		if [ -z "$FSTYPE" -o "$FSTYPE" = none ]; then
 			: No FSTYPE specified, rely on the system has the right file-system support already 
 		else
 			# Insert Filesystem module
-			$MODPROBE $FSTYPE >/dev/null 2>&1
+			$MODPROBE $FSTYPE >/dev/null 
 			grep -e "$FSTYPE"'$' /proc/filesystems >/dev/null
 			if [ $? -ne 0 ] ; then
 				ocf_log err "Couldn't find filesystem $FSTYPE in /proc/filesystems"
@@ -753,7 +753,7 @@
 	dd_opts="iflag=direct bs=512 count=16"
 	err_output=`dd if=$DEVICE $dd_opts 2>&1 >/dev/null`
 	if [ $? -ne 0 ]; then
-		ocf_log err "Failed to read device $DEVICE"
+		ocf_log err "Failed to read device ${DEVICE}: ${err_output}"
 		return $OCF_ERR_GENERIC
 	fi
 	return $OCF_SUCCESS
@@ -772,8 +772,7 @@
 	err_output=`
 		echo "${OCF_RESOURCE_INSTANCE}" | dd of=${STATUSFILE} $dd_opts 2>&1`
 	if [ $? -ne 0 ]; then
-		ocf_log err "Failed to write status file ${STATUSFILE}"
-		ocf_log err "dd said: $err_output"
+		ocf_log err "Failed to write status file ${STATUSFILE} : ${err_output}"
 		return $OCF_ERR_GENERIC
 	fi
 	test -f ${STATUSFILE}
