User`s guide
246
K
A
DAK
KwikNet Virtual File System
VFS Definition File Directives
Each directive in a VFS Definition File consists of a keyword of the form ...XXXXXX in
column one followed by zero or more parameters which you must provide. In the
examples which follow, symbolic names are used to represent parameters. When you
create a VFS Definition File, you must replace the symbolic name with your particular
parameter.
Volume Base
The VFS volume base which forms the initial part of every virtual file name must be
defined using keyword ...BASEDIR.
...BASEDIR VOLBASE
Parameter VOLBASE is the text string to be used as the volume base. The volume base
should adhere to the file path naming rules established by the underlying real file system,
if any, which you are using with your application. If no real file system is used, it is
recommended that you use UNIX path naming rules.
If the volume base string begins with a drive name (such as C:), the drive name
characters will be stripped from the volume base string if drive names are not supported
by the underlying file system. Hence, if your volume base includes a drive name, the
resulting VFS volume can be used with any file system, including one that does not
support drive names.
If the volume base string does not end with a forward or backward slash, a VFS separator
character will be automatically appended.
If the ...BASEDIR directive is omitted, the volume base / will be used.
Source Path
The source path identifies the location of the files which the VFS Generator will put into
your Virtual File System. By default, the VFS Generator assumes that such files will be
found in the VFS Generator's working directory. The
...SRCPATH keyword can be used
to direct the VFS Generator to access files from some other directory.
...SRCPATH FILE_LOC
Parameter FILE_LOC must identify a valid file path on the development system on which
the VFS Generator is executing. Usually this will be the path to a directory in which you
have collected the files which will form your Virtual File System. Note that parameter
FILE_LOC only specifies where files reside on your development system. It does not
influence the structure of your Virtual File System in any way.
Once the source path has been defined, only files within that directory or its
subdirectories can be inserted into your Virtual File System. However, the source path
can be redefined using the
...SRCPATH directive as often as required.
If parameter
FILE_LOC is omitted, the VFS Generator will revert to using the default
source path which was in effect when the VFS Generator was started.