From 0cb3b7441fe95daf957fc71a638ee9ecdbc0c0fa Mon Sep 17 00:00:00 2001 From: Ludovic Pouzenc Date: Sun, 12 Jul 2015 12:22:08 +0200 Subject: Minor adjustements to the fs --- raidguessfs.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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) -- cgit v1.2.3