mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
s4:scripting/devel Allow tmpfs script to be re-run
By doing the unmount, we can avoid double-mounting st and bin
This commit is contained in:
parent
fc4c839bc8
commit
612eec4aa7
@ -3,7 +3,10 @@
|
||||
# This sets up bin/ and st/ as tmpfs filesystems, which saves a lot of
|
||||
# time waiting on the disk!
|
||||
|
||||
rm -rf bin st
|
||||
sudo echo "About to (re)mount bin and st as tmpfs"
|
||||
rm -rf bin st
|
||||
sudo umount bin > /dev/null 2>&1
|
||||
sudo umount st > /dev/null 2>&1
|
||||
mkdir -p bin st || exit 1
|
||||
sudo mount -t tmpfs /dev/null bin || exit 1
|
||||
sudo chown $USER bin || exit 1
|
||||
|
Loading…
Reference in New Issue
Block a user