Pike v8.1 release 6

Class Fuse.Operations

Description

This is the interface you have to implement to write a FUSE filesystem If something goes wrong in your callback, always return errno. Unless the function returns a specific value (Stat, string or similar), return 0 if all is well.

You do not have to implement all functions. Unimplemented functions have a default implementation that returns -ENOIMPL.


Constant DT_BLK

final constant int Fuse.Operations.DT_BLK

Description

Block special directory entry


Constant DT_CHR

final constant int Fuse.Operations.DT_CHR

Description

Character special directory entry


Constant DT_DIR

final constant int Fuse.Operations.DT_DIR

Description

Directory directory entry


Constant DT_FIFO

final constant int Fuse.Operations.DT_FIFO

Description

FIFO directory entry


Constant DT_LNK

final constant int Fuse.Operations.DT_LNK

Description

Symlink directory entry


Constant DT_REG

final constant int Fuse.Operations.DT_REG

Description

Normal file directory entry


Constant DT_SOCK

final constant int Fuse.Operations.DT_SOCK

Description

Socket directory entry


Constant DT_UNKNOWN

final constant int Fuse.Operations.DT_UNKNOWN

Description

Unkown directory entry type


Constant F_GETLK
Constant F_SETLK
Constant F_SETLKW
Constant F_RDLCK
Constant F_WRLCK
Constant F_UNLCK

final constant Fuse.Operations.F_GETLK
final constant Fuse.Operations.F_SETLK
final constant Fuse.Operations.F_SETLKW
final constant Fuse.Operations.F_RDLCK
final constant Fuse.Operations.F_WRLCK
final constant Fuse.Operations.F_UNLCK

Description

lock() mode operations.


Constant O_ACCMODE

final constant int Fuse.Operations.O_ACCMODE

Description

Mask for read/write/rdwr


Constant O_APPEND

final constant int Fuse.Operations.O_APPEND

Description

Open for append


Constant O_RDONLY

final constant int Fuse.Operations.O_RDONLY

Description

Open read only


Constant O_RDWR

final constant int Fuse.Operations.O_RDWR

Description

Open read/write only


Constant O_WRONLY

final constant int Fuse.Operations.O_WRONLY

Description

Open write only