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

svn at pcbsd.org svn at pcbsd.org
Tue Mar 2 11:20:36 PST 2010


Author: kris
Date: 2010-03-02 11:20:36 -0800 (Tue, 02 Mar 2010)
New Revision: 6317

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

Add "-p" to zfs command when creating file-systems to create any dir trees needed for nested directories



Modified: pcbsd/trunk/pc-sysinstall/backend/functions-mountdisk.sh
===================================================================
--- pcbsd/trunk/pc-sysinstall/backend/functions-mountdisk.sh	2010-03-02 10:01:22 UTC (rev 6316)
+++ pcbsd/trunk/pc-sysinstall/backend/functions-mountdisk.sh	2010-03-02 19:20:36 UTC (rev 6317)
@@ -41,8 +41,8 @@
          ZNAME=""
        else
          ZNAME="${ZMNT}"
-         echo_log "zfs create ${ZPOOLNAME}${ZNAME}"
-         rc_halt "zfs create ${ZPOOLNAME}${ZNAME}"
+         echo_log "zfs create -p ${ZPOOLNAME}${ZNAME}"
+         rc_halt "zfs create -p ${ZPOOLNAME}${ZNAME}"
        fi
        sleep 2
        rc_halt "zfs set mountpoint=${FSMNT}${ZNAME} ${ZPOOLNAME}${ZNAME}"



More information about the Commits mailing list