| Extracted from Pike v7.8 release 866 at 2018-07-18.

[Top]
Fuse
Fuse.Operations

# 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_UNKNOWN

  `constant Fuse.Operations.DT_UNKNOWN`

Description

  Unkown directory entry type

Constant DT_FIFO

  `constant Fuse.Operations.DT_FIFO`

Description

  FIFO directory entry

Constant DT_CHR

  `constant Fuse.Operations.DT_CHR`

Description

  Character special directory entry

Constant DT_DIR

  `constant Fuse.Operations.DT_DIR`

Description

  Directory directory entry

Constant DT_BLK

  `constant Fuse.Operations.DT_BLK`

Description

  Block special directory entry

Constant DT_REG

  `constant Fuse.Operations.DT_REG`

Description

  Normal file directory entry

Constant DT_LNK

  `constant Fuse.Operations.DT_LNK`

Description

  Symlink directory entry

Constant DT_SOCK

  `constant Fuse.Operations.DT_SOCK`

Description

  Socket directory entry

Constant O_APPEND

  `constant Fuse.Operations.O_APPEND`

Description

  Open for append

Constant O_ACCMODE

  `constant Fuse.Operations.O_ACCMODE`

Description

  Mask for read/write/rdwr

Constant O_RDONLY

  `constant Fuse.Operations.O_RDONLY`

Description

  Open read only

Constant O_WRONLY

  `constant Fuse.Operations.O_WRONLY`

Description

  Open write only

Constant O_RDWR

  `constant Fuse.Operations.O_RDWR`

Description

  Open read/write only