RomFS: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{Stub}} | {{Stub}} | ||
=== Overview === | === Overview === | ||
RomFS or Read-Only Filesystem is part of the [[NCCH]] format, and is used as external file storage. | RomFS (or Read-Only Filesystem) is part of the [[NCCH]] format, and is used as external file storage. | ||
RomFS can be used: | RomFS can be used: | ||
Line 18: | Line 18: | ||
=== Format === | === Format === | ||
The RomFS is wrapped inside a IVFC hash-tree container, and the actual data is structured like a node-based tree, starting at the root level directory node, moving down to other directory and file nodes. Each directory node has pointers to child directory nodes and siblings, together with a pointer to the first file node for that directory. Each file node has pointers to their next file node, together with information about the actual file data. | |||
The RomFS header is | The RomFS IVFC hash-tree header is 0x5C bytes long and is structured as follows: | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
Line 96: | Line 96: | ||
| Optional info size. | | Optional info size. | ||
|} | |} | ||