/import

From WiiBrew
Jump to navigation Jump to search

This directory is part of the /dev/fs filesystem and part of the Wii NAND.

ES uses this as a temporary location to store title contents as they are added. After this finishes, the directory is renamed to the proper location in /title, to prevent malformed titles from being installed. ES also appears to look at files here when it boots, possibly to finish installs where the only remaining call is a call to ES_ImportTitleDone.

Similar to /title, subdirectories of this directory correspond to titles, which are arranged the same way as in /title. Contents are first written to /tmp, then renamed to be placed in the correct title in this directory. The entire directory is moved to /title when calling ES_ImportTitleDone.