s4:librpc/rpc: don't do async requests if gensec doesn't support async replies (bug...
[Samba/gebeck_regimport.git] / source4 / scripting / devel / tmpfs.sh
blob44ee04b2cef2edf216b93115c9e85b88278b8365
1 #!/bin/bash
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"
7 rm -rf bin st
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/"