mirror of
https://github.com/samba-team/samba.git
synced 2025-06-16 11:17:07 +03:00
this makes building and testing s4 as a developer much faster, if you have enough memory!
14 lines
356 B
Bash
Executable File
14 lines
356 B
Bash
Executable File
#!/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/"
|