RomFS driver.
More...
Go to the source code of this file.
RomFS driver.
- Author
- yellows8
-
mtheall
-
fincs
- Copyright
- libnx Authors
◆ romfsMountDataStorageFromProgram()
| Result romfsMountDataStorageFromProgram |
( |
u64 |
program_id, |
|
|
const char * |
name |
|
) |
| |
Mounts RomFS of a running program.
- Note
- Permission needs to be set in the NPDM.
- Parameters
-
| program_id | ProgramId to mount. |
| name | Device mount name. |
◆ romfsMountFromCurrentProcess()
| Result romfsMountFromCurrentProcess |
( |
const char * |
name | ) |
|
Mounts RomFS using the current process host program RomFS.
- Parameters
-
◆ romfsMountFromDataArchive()
Mounts RomFS from SystemData.
- Parameters
-
| dataId | SystemDataId to mount. |
| storageId | Storage ID to mount from. |
| name | Device mount name. |
◆ romfsMountFromFile()
Mounts RomFS from an open file.
- Parameters
-
| file | FsFile of the RomFS image. |
| offset | Offset of the RomFS within the file. |
| name | Device mount name. |
◆ romfsMountFromFsdev()
| Result romfsMountFromFsdev |
( |
const char * |
path, |
|
|
u64 |
offset, |
|
|
const char * |
name |
|
) |
| |
Mounts RomFS from a file path in a mounted fsdev device.
- Parameters
-
| path | File path. |
| offset | Offset of the RomFS within the file. |
| name | Device mount name. |
◆ romfsMountFromStorage()
Mounts RomFS from an open storage.
- Parameters
-
| storage | FsStorage of the RomFS image. |
| offset | Offset of the RomFS within the storage. |
| name | Device mount name. |
◆ romfsMountSelf()
| Result romfsMountSelf |
( |
const char * |
name | ) |
|
Mounts the Application's RomFS.
- Parameters
-