/[webpac]/openisis/current/doc/DbFiles.txt
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Annotation of /openisis/current/doc/DbFiles.txt

Parent Directory Parent Directory | Revision Log Revision Log


Revision 237 - (hide annotations)
Mon Mar 8 17:43:12 2004 UTC (20 years, 1 month ago) by dpavlin
File MIME type: text/plain
File size: 1115 byte(s)
initial import of openisis 0.9.0 vendor drop

1 dpavlin 237 order of opening database files
2    
3    
4     * checking options
5    
6     - try to read an options file .opt or .OPT
7     if found, merge options with those passed,
8     and use the successful case for extensions
9     - else, if the last path component contains an uppercase ascii
10     and no lowercase ascii, use uppercase extensions
11     - Options may select to open only index or only data.
12     - For both index and data, either traditional or new files are used
13     during normal operation, with new files preferred.
14     However, both sets may be open during copying.
15     - if no read/write mode is explicitly selected,
16     readonly is used if a TXT or MST file exists and is readonly.
17     (By index file permissions in index-only mode).
18    
19    
20     * checking data
21    
22     - if TXT exists, use it, done
23     - if traditional MST/XRF exist,
24     and they are writable or writing was not explicitly selected,
25     use them as is, done
26     - create TXT and copy any available readonly data
27    
28     If for a TXT no valid PTR exists, create one.
29    
30    
31     * checking index
32    
33     - if OXI exits, use it, done
34     - if traditional index files exist, open readonly
35     - else, OR if writing is wanted
36     create OXI for writing, copy old index
37    

  ViewVC Help
Powered by ViewVC 1.1.26