git://git.onelab.eu
/
util-vserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
5594cc4
)
DHOZAC suggestion to remove race between vuseradd and vcached. The only time there...
author
Faiyaz Ahmed
<faiyaza@cs.princeton.edu>
Thu, 30 Aug 2007 20:24:27 +0000
(20:24 +0000)
committer
Faiyaz Ahmed
<faiyaza@cs.princeton.edu>
Thu, 30 Aug 2007 20:24:27 +0000
(20:24 +0000)
scripts/vcached
patch
|
blob
|
history
diff --git
a/scripts/vcached
b/scripts/vcached
index
3bd027d
..
0e09c7e
100755
(executable)
--- a/
scripts/vcached
+++ b/
scripts/vcached
@@
-16,7
+16,7
@@
# Mark Huang <mlhuang@cs.princeton.edu>
# Copyright (c) 2004-2005 The Trustees of Princeton University
#
# Mark Huang <mlhuang@cs.princeton.edu>
# Copyright (c) 2004-2005 The Trustees of Princeton University
#
-# $Id: vcached,v 1.14 2007/0
6/28 21:02:41
dhozac Exp $
+# $Id: vcached,v 1.14 2007/0
7/05 19:05:14
dhozac Exp $
#
PATH=/sbin:/usr/sbin:$PATH
#
PATH=/sbin:/usr/sbin:$PATH
@@
-79,7
+79,7
@@
test -e "$UTIL_VSERVER_VARS" || {
setattr --barrier $__DEFAULT_VSERVERDIR
# take out the trash
setattr --barrier $__DEFAULT_VSERVERDIR
# take out the trash
-rm -rf "$__DEFAULT_VSERVERDIR/.vtmp"
+
#
rm -rf "$__DEFAULT_VSERVERDIR/.vtmp"
mkdir -p "$__DEFAULT_VSERVERDIR/.vcache"
mkdir -p "$__DEFAULT_VSERVERDIR/.vtmp"
mkdir -p "$__DEFAULT_VSERVERDIR/.vcache"
mkdir -p "$__DEFAULT_VSERVERDIR/.vtmp"