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

svn at pcbsd.org svn at pcbsd.org
Tue Jul 29 10:53:31 PDT 2008


Author: kris
Date: 2008-07-29 10:53:29 -0700 (Tue, 29 Jul 2008)
New Revision: 2486

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

Fixed a potential problem when moving from PCBSD1.x to PCBSD7 and converting
to journaling leaves some files left on the disk drive. 



Modified: pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.InstallCD1.sh
===================================================================
--- pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.InstallCD1.sh	2008-07-29 17:09:33 UTC (rev 2485)
+++ pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.InstallCD1.sh	2008-07-29 17:53:29 UTC (rev 2486)
@@ -4,6 +4,12 @@
 . /usr/local/pcbsd/scripts/PCBSD.Config
 
 echo "Starting install..."
+
+# Make sure we don't have any leftover files with schg flag set
+chflags -R noschg ${FSMNT}
+rm -rf ${FSMNT}/*
+
+# CD to the mount point now
 cd ${FSMNT}
 
 # Unset LANG variable



More information about the Commits mailing list