# Users can set $SCRATCH_DEV and export it, else we default to /dev/sdb
test -z "$SCRATCH_DEV" && SCRATCH_DEV=/dev/sdb
+# TODO: define TMP_DIR, SCRATCH_DIR, and LOWER_DIR, and don't hardcode them below
+# TODO: TMP_DIR shoyld be /n/tmp, ensure to "runcmd mkdir -p $TMP_DIR"
+
function runcmd
{
echo "CMD: $@"
tmpfs )
runcmd umount /n/scratch
runcmd swapoff $SCRATCH_DEV
-v ;;
+ ;;
nfs )
runcmd umount /n/scratch
runcmd exportfs -u localhost:/n/lower