Changes between Version 3 and Version 4 of FSDesign
- Timestamp:
- 2009-07-22T15:40:48Z (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
FSDesign
v3 v4 39 39 opened files, and in some special cases also VFS triplets (see below). 40 40 41 === Path arguments === 42 41 43 If the argument is a file path, VFS uses the ''vfs_lookup_internal()'' function to 42 44 translate the path into the so called VFS triplet. A VFS triplet is an ordered 43 45 triplet containing a global handle of the file system instance, a global device 44 46 handle and a file index. Thus a VFS triplet uniquely identifies a file on 45 some file system instance. 47 some file system instance. An example VFS triplet looks like this: 46 48 49 {{{ 50 (2, 1, 10) 51 }}} 52 53 In the above example, the VFS triplet describes a file on a file system which was 54 assigned number 2 by the VFS service, located on a device, which was assigned number 55 1 by the DEVMAP service, and which has a file-system dependent index number 10. The 56 last number is also known as i-node number in other operating systems. 57 58 VFS keeps information about each referenced file in an abstraction called VFS 59 node, for which there is the ''vfs_node_t'' type. Thus, a VFS node represents 60 some file which is referenced by VFS.