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

Wrapped errno value to be returned to the fuse kernel module

This exception can store only an errno. Request handlers should raise it to return a specific errno to the fuse kernel module.

class llfuse.RequestContext

Instances of this class provide information about the caller of the syscall that triggered a request. The attributes should be self-explanatory.

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.

Note that the st_Xtime attributes support floating point numbers to allow for nanosecond resolution.

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_uid
st_gid
st_rdev
st_size
st_blksize
st_blocks
st_atime
st_ctime
st_mtime

Table Of Contents

Previous topic

FUSE API Functions

Next topic

The global lock