Line 201:
Line 201:
The structure of [[nand/title]] appears to be exactly the same as [[SD Filesystem|SD]], except savegames are stored under the [[System SaveData|nand/data/<ID0>/sysdata]] directory instead.
The structure of [[nand/title]] appears to be exactly the same as [[SD Filesystem|SD]], except savegames are stored under the [[System SaveData|nand/data/<ID0>/sysdata]] directory instead.
The sub-directory name under [[nand/data]] is the SHA256 hash over the [[nand/private/movable.sed|movable.sed]] keyY. This nand/data/<ID0> directory is the NAND equivalent of the "sdmc/Nintendo 3DS/<ID0>/<ID1>" directory, however the data contained here is stored in cleartext. The movable.sed keyY is only used for AES MACs for nand/data/<ID0>. The nand/data/<ID0>/extdata directory contains the shared [[extdata]], and is structured exactly the same way as SD extdata.
The sub-directory name under [[nand/data]] is the SHA256 hash over the [[nand/private/movable.sed|movable.sed]] keyY. This nand/data/<ID0> directory is the NAND equivalent of the "sdmc/Nintendo 3DS/<ID0>/<ID1>" directory, however the data contained here is stored in cleartext. The movable.sed keyY is only used for AES MACs for nand/data/<ID0>. The nand/data/<ID0>/extdata directory contains the shared [[extdata]], and is structured exactly the same way as SD extdata.
−
−
The "nandrw" [[FS:OpenArchive|archive]] is mounted at "nand:/rw/", while the "nandro" archive is mounted at "nand:/ro/".
−
−
nandro
−
├── [[nandro/private|private]]
−
├── [[nandro/shared|shared]]
−
└── [[nandro/sys|sys]]
−
├── [[nandro/sys/HWCAL0.dat|HWCAL0.dat]]
−
└── [[nandro/sys/HWCAL1.dat|HWCAL1.dat]]
−
nandrw
−
├── [[nandrw/shared|shared]]
−
└── [[nandrw/sys|sys]]
−
├── [[nandrw/sys/lgy.log|lgy.log]] (This is written to by [[FIRM|TWL_FIRM]] when errors occur, this is equivalent to native.log)
−
├── [[nandrw/sys/LocalFriendCodeSeed_B|LocalFriendCodeSeed_B]]
−
├── [[nandrw/sys/native.log|native.log]] (This is written to by [[ErrDisp]])
−
├── [[nandrw/sys/rand_seed|rand_seed]]
−
├── [[nandrw/sys/SecureInfo_A|SecureInfo_A]]
−
└── [[nandrw/sys/updater.log|updater.log]]
nand
nand
Line 236:
Line 218:
├── [[Title Data Structure|title]]
├── [[Title Data Structure|title]]
└── [[nand/tmp|tmp]] (This is usually empty, even when installation for a system update still needs [[AMNet:FinishInstallToMedia|finalized]])
└── [[nand/tmp|tmp]] (This is usually empty, even when installation for a system update still needs [[AMNet:FinishInstallToMedia|finalized]])
+
+
The "ro" and "rw" directories are accessible through the "nandrw" and "nandro" [[FS:OpenArchive|archives]], respectively. Their contents are as follows:
+
+
ro
+
├── [[nandro/private|private]]
+
├── [[nandro/shared|shared]]
+
└── [[nandro/sys|sys]]
+
├── [[nandro/sys/HWCAL0.dat|HWCAL0.dat]]
+
└── [[nandro/sys/HWCAL1.dat|HWCAL1.dat]]
+
rw
+
├── [[nandrw/shared|shared]]
+
└── [[nandrw/sys|sys]]
+
├── [[nandrw/sys/lgy.log|lgy.log]] (This is written to by [[FIRM|TWL_FIRM]] when errors occur, this is equivalent to native.log)
+
├── [[nandrw/sys/LocalFriendCodeSeed_B|LocalFriendCodeSeed_B]]
+
├── [[nandrw/sys/native.log|native.log]] (This is written to by [[ErrDisp]])
+
├── [[nandrw/sys/rand_seed|rand_seed]]
+
├── [[nandrw/sys/SecureInfo_A|SecureInfo_A]]
+
└── [[nandrw/sys/updater.log|updater.log]]
=TWL partition=
=TWL partition=