Thank you for this excellent sample FS using python-fuse! It's really helped me a lot as an example FUSE filesystem.
I think there's a small error (at least pylint thinks so):
def read(self, offset, length):
stat.st_atime = time.now()
should be
def read(self, offset, length):
stat.st_atime = time.time()
since time doesn't have now() and also you also use time.time() in another part of the code:
def now(self):
self.atime = time.time() # time of last acces
Thank you for this excellent sample FS using python-fuse! It's really helped me a lot as an example FUSE filesystem.
I think there's a small error (at least pylint thinks so):
should be
since
timedoesn't havenow()and also you also usetime.time()in another part of the code: