code: def getattr(self, path, fh=None):
          '''
          Returns a dictionary with keys identical to the stat C structure of
          stat(2).
  
          st_atime, st_mtime and st_ctime should be floats.
  
          NOTE: There is an incompatibility between Linux and Mac OS X
          concerning st_nlink of directories. Mac OS X counts all files inside
          the directory, while Linux counts only the subdirectories.
          '''
  
          if path != '/':
              raise FuseOSError(errno.ENOENT)
          return dict(st_mode=(S_IFDIR | 0o755), st_nlink=2f getattr(self, path, fh=None):
          '''
          Returns a dictionary with keys identical to the stat C structure of
          stat(2).
  
          st_atime, st_mtime and st_ctime should be floats.
  
          NOTE: There is an incompatibility between Linux and Mac OS X
          concerning st_nlink of directories. Mac OS X counts all files inside
          the directory, while Linux counts only the subdirectories.
          '''
  
          if path != '/':
              raise FuseOSError(errno.ENOENT)
          return dict(st_mode=(S_IFDIR | 0o755), st_nlink=2)
docs: Returns a dictionary with keys identical to the stat C structure of
          stat(2).
  
          st_atime, st_mtime and st_ctime should be floats.
  
          NOTE: There is an incompatibility between Linux and Mac OS X
          concerning st_nlink of directories. Mac OS X counts all files inside
          the directory, while Linux counts only the subdirectories.