Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changes between Version 6 and Version 7 of FSDesign


Ignore:
Timestamp:
2009-07-23T19:04:36Z (10 years ago)
Author:
Jakub Jermář
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • FSDesign

    v6 v7  
    4242
    4343If the argument is a file path, VFS uses the ''vfs_lookup_internal()'' function to
    44 translate the path into the so called VFS triplet. A VFS triplet is an ordered
     44translate the path into the so called lookup result represented by the ''vfs_lookup_res_t''
     45type. The lookup result predominantly contains a VFS triplet, which is an ordered
    4546triplet containing a global handle of the file system instance, a global device
    4647handle and a file index. Thus a VFS triplet uniquely identifies a file on
     
    5960node, for which there is the ''vfs_node_t'' type. Thus, a VFS node represents
    6061some file which is referenced by VFS.
     62
     63The VFS server calls the ''vfs_node_get()'' function in order to get a VFS node
     64for the corresponding lookup result. This function creates a new VFS node or
     65adds a reference to an existing one. VFS nodes are organized in a hash table with
     66the VFS triplet as a search key.