Filesystem services: Difference between revisions

fsp-pr command argument documentation
FSP-ldr details + Content Path documentations
Line 2: Line 2:
{| class="wikitable" border="1"
{| class="wikitable" border="1"
|-
|-
! Cmd || Name
! Cmd || Name || Arguments || Notes
|-
|-
| 0 || MountCode
| 0 || MountCode || u64 TID + X descriptor [[#ContentPath]] || Returns an [[#IFileSystem]].
|-
|-
| 1 || IsCodeMounted
| 1 || IsCodeMounted || u64 TID || Returns PID of process that has code mounted.
|}
|}


Line 453: Line 453:
| 2 || SdCard
| 2 || SdCard
|}
|}
= ContentPath =
These are the 0x300 paths to NCA files for the various filesystems FS can access, beginning with @. They're passed via X descriptors, and returned via various [[Location Resolver services|ncm/lr]] commands.
{| class="wikitable" border="1"
|-
! Path || Notes
|-
| @GcApp || Gamecard App partition (Partition 2)
|-
| @GcS00000001 || Gamecard Contents.
|-
| @SdCardContent || Installed SD card contents
|-
| @Sdcard || Raw SD card partition
|-
| @SystemContent || NandSystem partition.
|-
| @upp || Gamecard update partition (Partition 0)
|-
| @UserContent || NandUser partition.
|}


=BisPartitionID=
=BisPartitionID=