### Navigation

- index
- next |
- previous |
- LLFUSE 0.40 documentation »

# Data Structures

`llfuse.``ENOATTR`

  This errorcode is unfortunately missing in the `errno` module, so it is provided by llfuse instead.

`llfuse.``ROOT_INODE`

  The inode of the root directory, i.e. the mount point of the file system.

exception `llfuse.``FUSEError`(errno_)

  This exception may be raised by request handlers to indicate that the requested operation could not be carried out. The system call that resulted in the request (if any) will then fail with error code errno_.

class `llfuse.``RequestContext`

  Instances of this class are passed to some `Operations` methods to provide information about the caller of the syscall that initiated the request.

  `pid`
  `uid`
  `gid`
  `umask`

class `llfuse.``StatvfsData`

  Instances of this class store information about the file system. The attributes correspond to the elements of the `statvfs` struct, see statvfs(2) for details.

  Request handlers do not need to return objects that inherit from `StatvfsData` directly as long as they provide the required attributes.

  `f_bsize`
  `f_frsize`
  `f_blocks`
  `f_bfree`
  `f_bavail`
  `f_files`
  `f_ffree`
  `f_favail`

class `llfuse.``EntryAttributes`

  Instances of this class store attributes of directory entries. Most of the attributes correspond to the elements of the `stat` C struct as returned by e.g. `fstat` and should be self-explanatory.

  The access, modification and creation times may be specified either in nanoseconds (via the st_Xtime_ns attributes) or in seconds (via the st_Xtime attributes). When times are specified both in seconds and nanoseconds, the nanosecond representation takes precedence. If times are represented in seconds, floating point numbers may be used to achieve sub-second resolution. Nanosecond time stamps must be integers. Note that using integer nanoseconds is more accurately than using float seconds.

  Request handlers do not need to return objects that inherit from `EntryAttributes` directly as long as they provide the required attributes.

  `st_ino`
  `generation`

    The inode generation number.

  `entry_timeout`

    Validity timeout (in seconds) for the name of the directory entry

  `attr_timeout`

    Validity timeout (in seconds) for the attributes

  `st_mode`
  `st_nlink`
  `st_uid`
  `st_gid`
  `st_rdev`
  `st_size`
  `st_blksize`
  `st_blocks`
  `st_atime`

    Time of access time in seconds. Floating point numbers may be used.

  `st_ctime`

    Time of last status change in seconds. Floating point numbers may be used.

  `st_mtime`

    Time of last modification in seconds. Floating point numbers may be used.

  `st_atime_ns`

    Time of last access in nanoseconds. Only integer values may be used. If specified, takes precedence over `st_atime`.

  `st_ctime_ns`

    Time of last status change in nanoseconds. Only integer values may be used. If specified, takes precedence over `st_ctime`.

  `st_mtime_ns`

    Time of last modification in nanoseconds. Only integer values may be used. If specified, takes precedence over `st_mtime`.

### Navigation

- index
- next |
- previous |
- LLFUSE 0.40 documentation »