Line 1:
Line 1:
{{stub}}
{{stub}}
+
{{Infobox file
+
| type = dir
+
| owner = [[IOS]]
+
| group = 0
+
}}
+
'''/shared2''' is a directory accessible to all [[Broadway]] titles. It resembles a root directory for these titles.
β
This is a member of the [[/dev/fs]] file structure
+
The NAND SDK library seems to deny access to /shared2 through the main <code>NANDOpen</code>, although a separate function (<code>NANDPrivateOpen</code>) exists without this restriction, and due to the lack of memory protection in [[Revolution OS]], <code>NANDPrivateOpen</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
+
* [[/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.
+
* [[/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
+
* [[/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}}
β
[[/shared2/menu/FaceLib/RFL_DB.dat|/menu/FaceLib/RFL_DB.dat]] - this is the database-file where Mii's are stored
β
β
[[/shared2/sys/net/dhcp.dat|/sys/net/dhcp.dat]] - This file contains IP-addresses used by the Wii when connecting to the internet
β
β
[[/shared2/sys/NANDBOOTINFO|/sys/NANDBOOTINFO]]
β
β
[[/shared2/expired|/expired]] - contains something like a PlayTime-limit? (Reference: OSPlayTime.c - PlayTime: %d seconds left [found in mariokart-channel])
β
β
[[/shared2/test2/dvderror.dat|/test2/dvderror.dat]]
β
β
[[/shared2/test2/nanderror.log|/test2/nanderror.log]]