Line 1:
Line 1:
{{stub}}
{{stub}}
+
{{Infobox file
+
| type = dir
+
| owner = [[IOS]]
+
| group = 0
+
}}
+
'''/shared2''' is a general purpose directory used as a shared savefile-like space, much like how [[:/shared1]] holds shared title contents. It was probably created later in the Wii's development, since some shared files are instead in the [[System Menu]]'s savefile ([[:/title/00000001/00000002/data]]).
−
This is a member of the [[:/dev/fs]] file structure. It contains miscellaneous content that does not follow a common sharing mechanism the way [[:/shared1]] does, and acts as an overflow root directory. [[Revolution OS]] seems to have a function for opening files that denies access to this directory from [[Broadway]] user code, but files can still be directly opened with IOS_Open.
+
The NAND SDK library seems to deny access to /shared2 through the main <code>OpenFile</code>, although a separate function (<code>OpenFilePrivileged</code>) exists without this restriction, and due to the lack of memory protection in [[Revolution OS]], <code>OpenFilePrivileged</code> can be freely called.
A quick (and incomplete) overview of the containing folders:
A quick (and incomplete) overview of the containing folders:
−
+
* [[/menu/FaceLib/RFL_DB.dat]] - this is the database-file where Mii's are stored
−
[[/menu/FaceLib/RFL_DB.dat]] - this is the database-file where Mii's are stored
+
* [[/sys/net/dhcp.dat]] - This file contains IP-addresses used by the Wii when connecting to the internet
−
+
* [[/sys/NANDBOOTINFO]] - This file keeps state about what title was most recently launched by the System Menu.
−
[[/sys/net/dhcp.dat]] - This file contains IP-addresses used by the Wii when connecting to the internet
+
* [[/expired]] - contains something like a PlayTime-limit? (Reference: OSPlayTime.c - PlayTime: %d seconds left [found in mariokart-channel])
−
+
* [[/test2/dvderror.dat]] - This file keeps track of disc drive errors
−
[[/sys/NANDBOOTINFO]] - This file keeps state about what title was most recently launched by the System Menu.
+
* [[/test2/nanderr.log]] - This file presumably keeps track of NAND errors
−
+
* [[/ec]] - State kept by the Wii Store (EC = "Electronic Commerce", probably)
−
[[/expired]] - contains something like a PlayTime-limit? (Reference: OSPlayTime.c - PlayTime: %d seconds left [found in mariokart-channel])
+
* [[/succession]] - contains shop.log and transfer.id, both presumably have something to do with the shop channel.
−
+
* [[/menu]] - Public state managed by the system menu
−
[[/test2/dvderror.dat]] - This file keeps track of disc drive errors
−
−
[[/test2/nanderr.log]] - This file presumably keeps track of NAND errors
−
−
[[/ec]] - State kept by the Wii Store (EC = "Electronic Commerce", probably)
−
−
[[/succession]] - contains shop.log and transfer.id, both presumably have something to do with the shop channel.
−
−
[[/menu]] - Public state managed by the system menu
{{Navbox filebrowser|dir}}
{{Navbox filebrowser|dir}}