[Lunar-commits] CVS: moonbase/sql/mysql POST_INSTALL,1.4,1.5
Auke Kok
sofar at lunar-linux.org
Mon Jan 31 11:23:32 UTC 2005
Update of /var/cvs/lunar/moonbase/sql/mysql
In directory espresso.foo-projects.org:/home/sofar/active/moonbase/sql/mysql
Modified Files:
POST_INSTALL
Log Message:
Fixes broken message and remaining src dir.
Index: POST_INSTALL
===================================================================
RCS file: /var/cvs/lunar/moonbase/sql/mysql/POST_INSTALL,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- POST_INSTALL 20 Feb 2003 23:45:46 -0000 1.4
+++ POST_INSTALL 31 Jan 2005 11:23:29 -0000 1.5
@@ -1,12 +1,9 @@
-TMPFS=`mount | grep "/tmp" | grep "tmpfs"`
-if [ -n "$TMPFS" ]; then
-cat << END
-
-if /tmp is tmpfs and if mysql is being used against big
-tables (> 2G) there is a big possibility of data/index
-corruption, especially on myisamchk.
-
-Consider mounting /tmp on a regular file system
-
-END
+if mount | grep "/tmp" | grep -q tmpfs ; then
+ message ""
+ message "if /tmp is tmpfs and if mysql is being used against big"
+ message "tables (> 2G) there is a big possibility of data/index"
+ message "corruption, especially on myisamchk"
+ message ""
+ message "Consider mounting /tmp on a regular file system"
+ message ""
fi
More information about the Lunar-commits
mailing list