diff options
author | Ludovic Pouzenc <lpouzenc@gmail.com> | 2015-07-12 12:22:08 +0200 |
---|---|---|
committer | Ludovic Pouzenc <lpouzenc@gmail.com> | 2015-07-12 12:22:08 +0200 |
commit | 0cb3b7441fe95daf957fc71a638ee9ecdbc0c0fa (patch) | |
tree | c4dbcecea1abcbe64541c85170fbe70b83311b49 | |
parent | ef6f38ff041287a2c198e53ab4f0213914979ce9 (diff) | |
download | raidguessfs-0cb3b7441fe95daf957fc71a638ee9ecdbc0c0fa.tar.gz raidguessfs-0cb3b7441fe95daf957fc71a638ee9ecdbc0c0fa.tar.bz2 raidguessfs-0cb3b7441fe95daf957fc71a638ee9ecdbc0c0fa.zip |
Minor adjustements to the fs
-rwxr-xr-x | raidguessfs.py | 6 |
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) |