1
0
mirror of https://github.com/samba-team/samba.git synced 2025-07-23 20:59:10 +03:00

s4-devel: a useful script to setup bin/ and st/ as tmpfs filesystems

this makes building and testing s4 as a developer much faster, if you
have enough memory!
This commit is contained in:
Andrew Tridgell
2010-01-07 10:18:30 +11:00
parent 1f25d0a5ad
commit 9672a3d1cc

View File

@ -0,0 +1,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/"