AMPXI:DoCleanup: Difference between revisions
Jump to navigation
Jump to search
Steveice10 (talk | contribs) Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x00400040] |- | 1 | MediaType |} =Response=..." |
TimmSkiller (talk | contribs) No edit summary |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 24: | Line 24: | ||
| Result code | | Result code | ||
|} | |} | ||
=Description= | |||
Used by [[AM:DoCleanup]]. | |||
This command checks the import.db on the specified media. All titles in the import.db that are not marked as pending (i.e. fully installed but not transferred to title.db) are deleted using the same internal code [[AMPXI:DeleteTitle]] uses. | |||
For NAND, in addition to the above, the first thing this command does is recursively removing all directories under <code>nand:/data</code> that don't match the system ID0 (that is, all directories that are not <code>nand:/data/<ID0></code>. This deletion step, however, is not performed if a file exists at <code>nand:/data/disabled</code>. |
Latest revision as of 14:15, 7 June 2025
Request
Index Word | Description |
---|---|
0 | Header code [0x00400040] |
1 | MediaType |
Response
Index Word | Description |
---|---|
0 | Header code [0x00400040] |
1 | Result code |
Description
Used by AM:DoCleanup.
This command checks the import.db on the specified media. All titles in the import.db that are not marked as pending (i.e. fully installed but not transferred to title.db) are deleted using the same internal code AMPXI:DeleteTitle uses.
For NAND, in addition to the above, the first thing this command does is recursively removing all directories under nand:/data
that don't match the system ID0 (that is, all directories that are not nand:/data/<ID0>
. This deletion step, however, is not performed if a file exists at nand:/data/disabled
.