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

svn at pcbsd.org svn at pcbsd.org
Thu Dec 10 12:54:18 PST 2009


Author: kris
Date: 2009-12-10 12:54:18 -0800 (Thu, 10 Dec 2009)
New Revision: 5543

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

Also cleanup regular unmount



Modified: pcbsd/trunk/pc-sysinstall/backend/functions-unmount.sh
===================================================================
--- pcbsd/trunk/pc-sysinstall/backend/functions-unmount.sh	2009-12-10 20:53:36 UTC (rev 5542)
+++ pcbsd/trunk/pc-sysinstall/backend/functions-unmount.sh	2009-12-10 20:54:18 UTC (rev 5543)
@@ -47,16 +47,16 @@
      # Check if we've found "/" again, don't need to mount it twice
      if [ "$PARTMNT" != "/" -a "${PARTMNT}" != "none" -a "${PARTFS}" != "ZFS" ]
      then
-       rc_nohalt "umount ${FSMNT}${PARTMNT}"
+       rc_nohalt "umount -f ${FSMNT}${PARTMNT}"
      fi
    done
 
    # Last lets the /mnt partition
    #########################################################
-   rc_nohalt "umount ${FSMNT}"
+   rc_nohalt "umount -f ${FSMNT}"
 
    # Unmount our CDMNT
-   rc_nohalt "umount ${CDMNT}"
+   rc_nohalt "umount -f ${CDMNT}"
 
    # Check if we need to run any gmirror syncing
    ls ${MIRRORCFGDIR}/* >/dev/null 2>/dev/null



More information about the Commits mailing list