Home | Reviews | GUIpedia | Forum | Fun500
trolly | vfs2hello all, i've worked on a new version of VFS (virtual file system for our gui or apps) this new version is totally written from scratch and it's not compatible with the previous version. this version has multiple catalogue file in its cache and support hierarchic directories (like the ".." parent directory in a normal file system): for example /afile.ext and /toto/../afile.ext point to the same file thanks to the recursif shearch algorythm it's inspired by my work on the fat file system: vfs2 use a know catalogue file for the root dir ("root.vfs") , a catalogue is like a directory in the FAT, each DirectoryEntry is a data structure that represent a Directory or a file: the fake name for the file/dir name the physic file name (instead of ClusterNum in fat file system) the attribute (1 for file, 2 for directory, other value are unused for now, but you can add your own attribue , for example 3 for exec file and so on) and the meta that could be used to identify the file type. any suggestion are welcomed [file name=vfs2.zip size=3766]http://theguiblog.com/images/fbfiles/files/vfs2.zip[/file] | 2009-02-22 | 8:10 PM |
2021 Brandon Cornell