SF.net SVN: morphix: [2426] trunk/morph-scripts/mmorphix/ morphing-morphix-gui.sh

[email protected] Tue, 03 Oct 2006 11:27:46 -0700
Newsgroups gmane.linux.morphix.cvs
Message-ID <[email protected]>
Revision: 2426
          http://svn.sourceforge.net/morphix/?rev=2426&view=rev
Author:   bmsleight
Date:     2006-10-03 11:27:42 -0700 (Tue, 03 Oct 2006)

Log Message:
-----------
Fixing bugs: 1552930, 1565310. (Final bits) Ready for MorphingMorphix_0.3.1

Modified Paths:
--------------
    trunk/morph-scripts/mmorphix/morphing-morphix-gui.sh

Modified: trunk/morph-scripts/mmorphix/morphing-morphix-gui.sh
===================================================================
--- trunk/morph-scripts/mmorphix/morphing-morphix-gui.sh	2006-10-01 22:22:25 UTC (rev 2425)
+++ trunk/morph-scripts/mmorphix/morphing-morphix-gui.sh	2006-10-03 18:27:42 UTC (rev 2426)
@@ -274,7 +274,10 @@
 
 This partition does support file permissions. 
 We need to make a 2.5G file on the partition to be used as 
-tmp file space. "
+tmp file space. 
+
+This file space_mm.tmp can be safely deleted once after you
+have finished with MorphingMorphix"
 ###########################################################
 MESSAGE_ISOMORPH="Introduction to isomorph
 
@@ -943,6 +946,7 @@
 	xdialog_message "$MESSAGE_SETTING_MAKEISO"
 	log_and_do_command "sudo dd if=/dev/cdrom \
 	 of=$MNT_POINT/mmorphix/iso/$SETTING_MYMORPH >$TMP_FILE 2>&1 &"
+	sleep 4
 	log_and_do_command_progress "while pidof dd >/dev/null; do sudo kill -USR1 $(pidof dd); \
 	 tail -n 1 $TMP_FILE; sleep 2; done"
  fi
@@ -953,13 +957,14 @@
 	# if the filesystem does not allow permissions on files then
 	# make a file, mount it as ext3. Then use this as tmp space.
 	NONPERM_FS=$(cat /etc/mtab | grep $MNT_POINT | cut -d\  -f 3)
-	if [ "$NONPERM_FS" = "vfat" ]
+	if [ "$NONPERM_FS" = "vfat" ] || [ "$NONPERM_FS" = "ntfs" ]
 		then
 		DOUBLE_MOUNT="Y"
 		if [ ! -f "$MNT_POINT/space_mm.tmp" ]
 			then
 			xdialog_message "$MESSAGE_SETTING_TMPFS"
 			log_and_do_command "sudo dd if=/dev/zero of=$MNT_POINT/space_mm.tmp bs=1MB count=2560 >$TMP_FILE 2>&1 &"
+			sleep 4
 			log_and_do_command_progress "while pidof dd >/dev/null; do sudo kill -USR1 $(pidof dd); \
 							tail -n 1 $TMP_FILE; sleep 2; done"
 			log_and_do_command_progress "sudo mkfs.ext3 -F  $MNT_POINT/space_mm.tmp "


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV