make prepare.sh create ext-workdir to coincide with an earlier change
This commit is contained in:
parent
770589d666
commit
7ddf025114
1 changed files with 8 additions and 7 deletions
15
prepare.sh
15
prepare.sh
|
@ -1,6 +1,7 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
DIR=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &>/dev/null && pwd)
|
DIR=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &>/dev/null && pwd)
|
||||||
cd $DIR
|
cd $DIR
|
||||||
|
mkdir ./data/ext-workdir
|
||||||
|
|
||||||
if [ ! -f ./data/ext-workdir/dwarfs ]; then
|
if [ ! -f ./data/ext-workdir/dwarfs ]; then
|
||||||
time mkdwarfs -l 1 -i ./data/datasets/ -o ./data/ext-workdir/dwarfs
|
time mkdwarfs -l 1 -i ./data/datasets/ -o ./data/ext-workdir/dwarfs
|
||||||
|
@ -17,13 +18,13 @@ time dwarfs ./data/ext-workdir/dwarfs ./data/mountpoints/dwarfs/
|
||||||
#mkdir ./data/mountpoints/fuse-archive-tar-gz/
|
#mkdir ./data/mountpoints/fuse-archive-tar-gz/
|
||||||
#time fuse-archive ./data/ext-workdir/fuse-archive.tar.gz ./data/mountpoints/fuse-archive-tar-gz/
|
#time fuse-archive ./data/ext-workdir/fuse-archive.tar.gz ./data/mountpoints/fuse-archive-tar-gz/
|
||||||
|
|
||||||
if [ ! -f ./data/ext-workdir/fuse-archive.tar ]; then
|
#if [ ! -f ./data/ext-workdir/fuse-archive.tar ]; then
|
||||||
cd ./data/datasets/
|
# cd ./data/datasets/
|
||||||
time tar -cf ../ext-workdir/fuse-archive.tar .
|
# time tar -cf ../ext-workdir/fuse-archive.tar .
|
||||||
cd -
|
# cd -
|
||||||
fi
|
#fi
|
||||||
mkdir ./data/mountpoints/fuse-archive-tar/
|
#mkdir ./data/mountpoints/fuse-archive-tar/
|
||||||
time fuse-archive ./data/ext-workdir/fuse-archive.tar ./data/mountpoints/fuse-archive-tar/
|
#time fuse-archive ./data/ext-workdir/fuse-archive.tar ./data/mountpoints/fuse-archive-tar/
|
||||||
|
|
||||||
# **DISABLED** - also too slow
|
# **DISABLED** - also too slow
|
||||||
#cd ./data/datasets/
|
#cd ./data/datasets/
|
||||||
|
|
Loading…
Reference in a new issue