diff options
author | jpaetzel <jpaetzel@FreeBSD.org> | 2013-03-03 23:07:27 +0000 |
---|---|---|
committer | jpaetzel <jpaetzel@FreeBSD.org> | 2013-03-03 23:07:27 +0000 |
commit | 2b4e636b244795c1b6f7fd8c71009d903a03fd40 (patch) | |
tree | 59901987c797e6ee4d9977801f300e91dde67dc1 /usr.sbin/pc-sysinstall/conf | |
parent | 3da475a963077e2df4022d88c2fba553595f4e9b (diff) | |
download | FreeBSD-src-2b4e636b244795c1b6f7fd8c71009d903a03fd40.zip FreeBSD-src-2b4e636b244795c1b6f7fd8c71009d903a03fd40.tar.gz |
Use GNOP to force ZFS pools to 4k.
Obtained from: PC-BSD
Diffstat (limited to 'usr.sbin/pc-sysinstall/conf')
-rw-r--r-- | usr.sbin/pc-sysinstall/conf/pc-sysinstall.conf | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/usr.sbin/pc-sysinstall/conf/pc-sysinstall.conf b/usr.sbin/pc-sysinstall/conf/pc-sysinstall.conf index 5d682dc..9c01e31 100644 --- a/usr.sbin/pc-sysinstall/conf/pc-sysinstall.conf +++ b/usr.sbin/pc-sysinstall/conf/pc-sysinstall.conf @@ -5,11 +5,9 @@ TMPDIR="/tmp/.pc-sysinstall" export TMPDIR -if [ ! -d "${TMPDIR}" ] -then - mkdir -p ${TMPDIR} - chmod 777 ${TMPDIR} -fi +# Create a fresh TMPDIR +if [ -d "${TMPDIR}" -a "$TMPDIR" != '/' ]; then rm -rf ${TMPDIR}; fi +mkdir -p ${TMPDIR} # Set our temp directory for storing partition information PARTDIR="${TMPDIR}/part-info" |