[PC-BSD Commits] r5996 - pcbsd/trunk/pc-sysinstall/backend

svn at pcbsd.org svn at pcbsd.org
Wed Jan 13 12:41:46 PST 2010


Author: kris
Date: 2010-01-13 12:41:46 -0800 (Wed, 13 Jan 2010)
New Revision: 5996

Modified:
   pcbsd/trunk/pc-sysinstall/backend/functions-unmount.sh
Log:

Updated functions-unmount, lets be smart and copy log file *before* unmounting, doh!



Modified: pcbsd/trunk/pc-sysinstall/backend/functions-unmount.sh
===================================================================
--- pcbsd/trunk/pc-sysinstall/backend/functions-unmount.sh	2010-01-13 19:38:29 UTC (rev 5995)
+++ pcbsd/trunk/pc-sysinstall/backend/functions-unmount.sh	2010-01-13 20:41:46 UTC (rev 5996)
@@ -22,14 +22,13 @@
 # Unmounts all our mounted file-systems
 unmount_all_filesystems()
 {
-
-   # Start by unmounting any ZFS partitions
-   zfs_cleanup_unmount
-
    # Copy the logfile to disk before we unmount
    cp ${LOGOUT} ${FSMNT}/pc-sysinstall.log
    cd /
 
+   # Start by unmounting any ZFS partitions
+   zfs_cleanup_unmount
+
    # Lets read our partition list, and unmount each
    ##################################################################
    for PART in `ls ${PARTDIR}`



More information about the Commits mailing list