Linux Kernel
3.7.1
|
#include <9p.h>
Data Fields | |
u8 | type |
u32 | version |
u64 | path |
struct p9_qid - file system entity information : 8-bit type &p9_qid_t
qids are identifiers used by 9P servers to track file system entities. The type is used to differentiate semantics for operations on the entity (ie. read means something different on a directory than on a file). The path provides a server unique index for an entity (roughly analogous to an inode number), while the version is updated every time a file is modified and can be used to maintain cache coherency between clients and serves. Servers will often differentiate purely synthetic entities by setting their version to 0, signaling that they should never be cached and should be accessed synchronously.
See Also://plan9.bell-labs.com/magic/man2html/2/stat