http://bugzilla.novell.com/show_bug.cgi?id=510789
User mmarek@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=510789#c3
Michal Marek changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |UPSTREAM
--- Comment #3 from Michal Marek 2009-06-23 03:17:59 MDT ---
commit ec16267ed4fdeecc9b8eb9f6a143703bc6fad17f
Author: Barry Naujok
Date: Tue Oct 9 04:10:02 2007 +0000
Make fsck.xfs verify the device exists
Merge of master-melb:xfs-cmds:29851a by kenmcd.
Make fsck.xfs verify the device exists
diff --git a/fsck/xfs_fsck.sh b/fsck/xfs_fsck.sh
index c9be5e3..016b22d 100755
--- a/fsck/xfs_fsck.sh
+++ b/fsck/xfs_fsck.sh
@@ -10,6 +10,11 @@ do
a|A) AUTO=true;;
esac
done
+eval DEV=\${$#}
+if [ ! -e $DEV ]; then
+ echo "$0: $DEV does not exist"
+ exit 8
+fi
if $AUTO; then
echo "$0: XFS file system."
else
I suggest filing a bug at http://oss.sgi.com/bugzilla/ , product XFS, component
xfsprogs.
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.