def write(self, path, buf, offset, fh): if debug: print "write: " + path os.lseek(fh, offset, os.SEEK_SET) return os.write(fh, buf)