Data Structures

pyfuse3.ENOATTR

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

pyfuse3.ROOT_INODE

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

pyfuse3.RENAME_EXCHANGE

A flag that may be passed to the rename handler. When passed, the handler must atomically exchange the two paths (which must both exist).

pyfuse3.RENAME_NOREPLACE

A flag that may be passed to the rename handler. When passed, the handler must not replace an existing target.

pyfuse3.default_options

This is a recommended set of options that should be passed to pyfuse3.init to get reasonable behavior and performance. pyfuse3 is compatible with any other combination of options as well, but you should only deviate from the defaults with good reason.

(The fsname=<foo> option is guaranteed never to be included in the default options, so you can always safely add it to the set).

The default options are:

  • default_permissions enables permission checking by kernel. Without this any umask (or uid/gid) would not have an effect.

class pyfuse3.FileHandleT

A type alias for int, representing an integer file handle produced by a create, open, or opendir call.

class pyfuse3.FileNameT

A type alias for bytes, representing a file name, with no embedded zero-bytes (\0).

class pyfuse3.FlagT

A type alias for int, representing flags modifying the behavior of an operation.

class pyfuse3.InodeT

A type alias for int, representing an inode number.

class pyfuse3.ModeT

A type alias for int, representing a file mode.

class pyfuse3.XAttrNameT

A type alias for bytes, representing an extended attribute name, with no embedded zero-bytes (\0).