Welcome to Tribbeck.com


Using LongFiles with Computer Concepts' CFS

If you wish to use LongFiles with Computer Concepts' CFS, then you will have to do the following:

  1. Before loading CFS, load LongFiles and add whatever filing systems you wish to use LongFiles with;
  2. Load CFS
By doing it in this order, CFS will go through LongFiles rather than directly to the original filing system. If you want a more detailed explanation, then see below.

If you want to quit LongFiles, remove a filing system from LongFiles or add a filing system to LongFiles, then you will have to do the following:

  1. Quit CFS entirely;
  2. Quit LongFiles or add/remove some of LongFiles' filing systems;
  3. Re-load CFS

A more detailed explanation

For those of you who wish to know why this is the way to do it, then here is an explanation.

When CFS starts up, and you add a filing system to it, it reads the filing system's "personal" vectors, ie. how to load files, list directories, open files and so forth.

When LongFiles starts up, and you add a filing system to it, it does the same, except modifies them so that the filing system thinks it is doing its own code, whereas it is actually going through LongFiles.

If CFS is started before LongFiles, then when LongFiles is added, CFS does not know that the the filing system's vectors has changed, and so uses the old ones in pereference.

Unfortunately, due to technical reasons, it is not possible to add LongFiles to CFS as a whole (they get 'confused' as to which special files to use), so you have to run CFS after LongFiles, so that CFS uses LongFiles' vectors instead of the old filing system's vectors.

Likewise if you make any changes to the LongFiles setup, you have to remove CFS first and restart it after making the changes, as it will try to use the LongFiles vectors when they don't exist any more.

Return to LongFiles

Updated: 2011-06-08 20:40:59 | Comments: 0 | Show comments | Add comment
© Copyright 1997-2019
Tribbeck.com / Jason Tribbeck
All trademarks are the property of their respective owners.