blob: 5604f68dd7680cc2ef3e91f0e7fd019226fa4aae (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#!/bin/bash
# This sets up bin/ and st/ as tmpfs filesystems, which saves a lot of
# time waiting on the disk!
rm -rf bin st
mkdir -p bin st || exit 1
sudo mount -t tmpfs /dev/null bin || exit 1
sudo chown $USER bin || exit 1
echo "tmpfs setup for bin/"
sudo mount -t tmpfs /dev/null st || exit 1
sudo chown $USER st || exit 1
echo "tmpfs setup for st/"
|