User:Superleaf1995/lowFS: Difference between revisions

no edit summary
(Created page with "uniFS stands for '''Universal FileSystem'''. == Spec == uniFS is a table-filesystem where each entry points to a portion of a file, this allows loading parts of the file prog...")
 
No edit summary
Line 17:
</source>
 
* nn_entry should be set to 0 if this is the final part of the entry.
* next_entry should be set to 0 if this is the final part of the chain of entries.
 
== Entry types ==
Following the entry_t header, follows the contents of the entry. Notice that these varies in size, but always should align to 8-bytes.
 
If entry_type is set to '''ENTRY_TYPE_FILEMETADATA''' (0xF0):
<source lang="c">
struct unifs_entry_filemetadata {
Line 31:
};
</source>
* Filename should be ended with a NULL character as always.
 
If entry_type is set to '''ENTRY_TYPE_FILEPART''' (0xF2):
<source lang="c">
struct unifs_entry_filepart {
Line 43:
</source>
 
If entry type is set to '''ENTRY_TYPE_DIRECTORYMETADATA''' (0xF4):
<source lang="c">
struct unifs_entry_directorymetadata {
170

edits