[PC-BSD Commits] r2456 - pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts

svn at pcbsd.org svn at pcbsd.org
Mon Jul 28 05:43:30 PDT 2008


Author: kris
Date: 2008-07-28 05:43:29 -0700 (Mon, 28 Jul 2008)
New Revision: 2456

Modified:
   pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.NewFS.sh
Log:

Try to fix up gjournal mounting when moving from regular UFS to UFS+J



Modified: pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.NewFS.sh
===================================================================
--- pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.NewFS.sh	2008-07-28 12:24:25 UTC (rev 2455)
+++ pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.NewFS.sh	2008-07-28 12:43:29 UTC (rev 2456)
@@ -28,6 +28,9 @@
     echo "Running Newfs on ${DevName}"
     gjournal label -f ${DevName}
     newfs -O 2 -J ${DevName}.journal >/dev/null 2>/dev/null
+
+    # Sleep a few seconds to init the journal before we mount it
+    sleep 3
   done
   exit 0
 fi



More information about the Commits mailing list