aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Bersenev <bay@hackerdom.ru>2011-06-10 12:45:13 +0000
committerAlexander Bersenev <bay@hackerdom.ru>2011-06-10 12:45:13 +0000
commit8b8b0e496ae3676790215f1eb94e233403f06936 (patch)
treef068bb9646876a987d4dca6bcae44061cd85df67 /logger/src/autodep/logfs/logger_fusefs.py
parentbetter logging system. Finalize format of logs (diff)
downloadautodep-8b8b0e496ae3676790215f1eb94e233403f06936.tar.gz
autodep-8b8b0e496ae3676790215f1eb94e233403f06936.tar.bz2
autodep-8b8b0e496ae3676790215f1eb94e233403f06936.zip
Finalized format of communications. Fiexed a very annoying bug with lost ALLOW packet. Fixed tests
Diffstat (limited to 'logger/src/autodep/logfs/logger_fusefs.py')
-rw-r--r--logger/src/autodep/logfs/logger_fusefs.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/logger/src/autodep/logfs/logger_fusefs.py b/logger/src/autodep/logfs/logger_fusefs.py
index 11a6f39..ec19b80 100644
--- a/logger/src/autodep/logfs/logger_fusefs.py
+++ b/logger/src/autodep/logfs/logger_fusefs.py
@@ -93,9 +93,9 @@ class logger:
print "Unmounting partitions"
self.mountlist.reverse()
for mount in self.mountlist:
- self.smartcommandlauncher(['umount',self.rootmountpath+mount])
- self.smartcommandlauncher(['fusermount','-u',self.rootmountpath]);
- self.smartcommandlauncher(['umount',self.rootmountpath]);
+ self.smartcommandlauncher(['umount','-l',self.rootmountpath+mount])
+ self.smartcommandlauncher(['fusermount','-z','-u',self.rootmountpath]);
+ self.smartcommandlauncher(['umount','-l',self.rootmountpath]);
os.rmdir(self.rootmountpath)
except OSError, e: