summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xraidguessfs.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/raidguessfs.py b/raidguessfs.py
index e76d1f3..4494fde 100755
--- a/raidguessfs.py
+++ b/raidguessfs.py
@@ -226,7 +226,7 @@ class RaidGuessFS(fuse.Fuse):
path: self.st.make_fake_dir() for path in self.dentries.keys()
}
self.fattr = {
- '/config/%s'%s: self.st.make_fake_file(64,0666) for s in self.settings
+ '/config/%s'%s: self.st.make_fake_file(4096,0666) for s in self.settings
}
self.fattr.update( {
@@ -250,6 +250,10 @@ class RaidGuessFS(fuse.Fuse):
logging.info("Mounted.")
except Exception as e:
logging.exception(e)
+
+ def fsdestroy(self):
+ #TODO Kill tasks and see why some python processes stay alive on fusermount -u
+ return
def getattr(self, path):
logging.info("getattr: %s" % path)