[Fai-commit] r6750 - trunk/examples/simple/basefiles

Thomas Lange lange at alioth.debian.org
Sat Oct 22 23:40:49 UTC 2011


Author: lange
Date: 2011-10-22 23:40:48 +0000 (Sat, 22 Oct 2011)
New Revision: 6750

Modified:
   trunk/examples/simple/basefiles/mk-basefile
Log:
improve error message


Modified: trunk/examples/simple/basefiles/mk-basefile
===================================================================
--- trunk/examples/simple/basefiles/mk-basefile	2011-10-22 23:23:06 UTC (rev 6749)
+++ trunk/examples/simple/basefiles/mk-basefile	2011-10-22 23:40:48 UTC (rev 6750)
@@ -55,12 +55,14 @@
     mknod $xtmp/test-dev-null c 1 3
     if [ $? -eq 1 ]; then
 	echo "Cannot create device files on $xtmp, aborting."
+	echo "Perhaps this directory is mounted with option nodev."
 	rm -rf $xtmp
 	exit 1
     fi
     echo test > $xtmp/test-dev-null
     if [ $? -eq 1 ]; then
-	echo "Cannot use device files on $xtmp, aborting."
+	echo "Cannot create device files on $xtmp, aborting."
+	echo "Perhaps this directory is mounted with option nodev."
 	rm -rf $xtmp
 	exit 1
     fi




More information about the Fai-commit mailing list