[SCM] Samba Shared Repository - branch master updated
Andrew Bartlett
abartlet at samba.org
Wed Feb 24 14:27:39 MST 2010
The branch, master has been updated
via 612eec4... s4:scripting/devel Allow tmpfs script to be re-run
from fc4c839... s4:DNS update - change "i" to be unsigned
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 612eec4aa737de40cc18ef10722d35a36803816f
Author: Andrew Bartlett <abartlet at samba.org>
Date: Mon Jan 18 19:24:45 2010 +1300
s4:scripting/devel Allow tmpfs script to be re-run
By doing the unmount, we can avoid double-mounting st and bin
-----------------------------------------------------------------------
Summary of changes:
source4/scripting/devel/tmpfs.sh | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source4/scripting/devel/tmpfs.sh b/source4/scripting/devel/tmpfs.sh
index 5604f68..14e9b27 100755
--- a/source4/scripting/devel/tmpfs.sh
+++ b/source4/scripting/devel/tmpfs.sh
@@ -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
--
Samba Shared Repository
More information about the samba-cvs
mailing list