fuse_entry_param Struct Reference

#include <fuse_lowlevel.h>


Data Fields

fuse_ino_t ino
unsigned long generation
struct stat attr
double attr_timeout
double entry_timeout


Detailed Description

Directory entry parameters supplied to fuse_reply_entry()

Field Documentation

Unique inode number

In lookup, zero means negative entry (from version 2.5) Returning ENOENT also means negative entry, but by setting zero ino the kernel may cache negative entries for entry_timeout seconds.

Generation number for this entry.

The ino/generation pair should be unique for the filesystem's lifetime. It must be non-zero, otherwise FUSE will treat it as an error.

struct stat fuse_entry_param::attr [read]

Inode attributes.

Even if attr_timeout == 0, attr must be correct. For example, for open(), FUSE uses attr.st_size from lookup() to determine how many bytes to request. If this value is not correct, incorrect data will be returned.

Validity timeout (in seconds) for the attributes

Validity timeout (in seconds) for the name


The documentation for this struct was generated from the following file:

Generated on Fri Feb 6 14:54:13 2009 for fuse by  doxygen 1.5.6