CVS: moonbase/utils/e2fsprogs/init.d mount,1.6,1.7

elaine at lunar-linux.org elaine at lunar-linux.org
Sat Nov 1 01:37:18 GMT 2003


Update of /var/cvs/lunar/moonbase/utils/e2fsprogs/init.d
In directory dbguin.lunar-linux.org:/tmp/cvs-serv24486

Modified Files:
	mount 
Log Message:
Moved swapoff to before unmounting of filesystems, fixing bug found by 
sofar           bright blessings, happy haloween


Index: mount
===================================================================
RCS file: /var/cvs/lunar/moonbase/utils/e2fsprogs/init.d/mount,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- mount	6 Jun 2003 22:18:41 -0000	1.6
+++ mount	1 Nov 2003 01:37:16 -0000	1.7
@@ -145,7 +145,11 @@
 
   # write wtmp in /var before umounting /var
   reboot -w
-  
+
+  echo -n " * Deactivating swap space:"
+  swapoff  -a
+  chkresult
+
   echo "Umounting all filesystems:"
 
   cat $MOUNTS | flip | \
@@ -213,9 +217,6 @@
     done
   done
   
-  echo -n " * Deactivating swap space:"
-  swapoff  -a
-  chkresult
   
   sync; sync
 




More information about the Lunar-commits mailing list