3 # This sets up bin/ and st/ as tmpfs filesystems, which saves a lot of
4 # time waiting on the disk!
6 sudo
echo "About to (re)mount bin and st as tmpfs"
8 sudo umount bin
>/dev
/null
2>&1
9 sudo umount st
>/dev
/null
2>&1
10 mkdir
-p bin st ||
exit 1
11 sudo mount
-t tmpfs
/dev
/null bin ||
exit 1
12 sudo chown
$USER bin
/. ||
exit 1
13 echo "tmpfs setup for bin/"
14 sudo mount
-t tmpfs
/dev
/null st ||
exit 1
15 sudo chown
$USER st
/. ||
exit 1
16 echo "tmpfs setup for st/"