Crystal Space: 4.7 Virtual File System (VFS)

[ < ] | [ > ] |  | [ << ] | [ Up ] | [ >> ] |  |  |  |  | [Top] | [Contents] | [Index] | [ ? ]

## 4.7 Virtual File System (VFS)

Written by Andrew Zabolotny, bit@eltech.ru.

Since many even basic concepts in file systems on different operating systems often differ, you often should take care to use the right path separators on the right platform, search on different "drives", "mounts" and so on for required files. This library achieves the goal of making the file system appear "the same" on various operating systems, and adds many bonus features such as archive support and overlaid directories.

Each "directory" on the VFS virtual volume is mapped to some real-world directory or ZIP archive. Additionally, you can make one "virtual directory" map to several real-world directories (and/or ZIP files) at one time, thus covering such cases as having files either on compact disc (CD) or hard disk (depending upon the user's choice), distributing data file updates (thus overriding some files on write-only media) and so on.

The Virtual File System is driven by a configuration file. See section Configuration File (``vfs.cfg'`).

[ < ] | [ > ] |  | [ << ] | [ Up ] | [ >> ]

This document was generated using texi2html 1.76.