Filesystem services: Difference between revisions

Line 1,214: Line 1,214:


==== [[RomFS]] ====
==== [[RomFS]] ====
The raw FS image for the main CXI RomFS(for the current app this is accessible via archiveid 0x3) can be accessed via an all-zero 0xc-byte binary file-lowpath. This allows access to the raw level-3 IVFC image: the user process must handle parsing the filesystem used in this image itself.
The raw FS image for the main CXI RomFS(for the current app this is accessible via archiveid 0x3) can be accessed via an all-zero 0xc-byte binary file-lowpath. The update RomFS for the current app can be accessed with the first u32 in the binary file-lowpath being set to 0x5. This allows access to the raw level-3 IVFC image: the user process must handle parsing the filesystem used in this image itself.


In this scenario, OpenFile returns a handle to the RomFS archive.
In this scenario, OpenFile returns a handle to the RomFS archive.