Changes between Version 8 and Version 9 of FSDesign


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

Legend:

Unmodified
Added
Removed
Modified
  • FSDesign

    v8 v9  
    3939opened files, and in some special cases also VFS triplets (see below).
    4040
    41 === Path arguments ===
    42 
    4341If the argument is a file path, VFS uses the ''vfs_lookup_internal()'' function to
    4442translate the path into the so called lookup result represented by the ''vfs_lookup_res_t''
     
    5957VFS keeps information about each referenced file in an abstraction called VFS
    6058node, for which there is the ''vfs_node_t'' type. Thus, a VFS node represents
    61 some file which is referenced by VFS.
     59some file which is referenced by VFS. VFS nodes are the first class entities
     60in the VFS server, because in most operations, a VFS node must be instantiated.
    6261
    6362The VFS server calls the ''vfs_node_get()'' function in order to get a VFS node
     
    8887
    8988The example is simplified and does not show all the details (e.g. it omits all synchronization), but it shows the main idea. Note the trailing ''vfs_node_put()'' function which drops a reference to a VFS node. If the last reference is dropped from a node, ''vfs_node_put()'' removes it from the hash table and cleans it up.
     89