Editing Partitions

Jump to navigation Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
See also [[Devices#Disk_Device_Listing|Disk Devices]], [[Files on the PS4]] and [https://www.psdevwiki.com/ps5/Partitions PS5 Partitions].
See also [[Files on the PS4]] and [https://www.psdevwiki.com/ps5/Partitions PS5 Partitions].


== Table ==
== Table ==


* Internal HDD is identified by the device id “da0”.
Hard drive is identified by the device id “da0”.
* USB Storage is identified by the device id “da1”.
* USB Extended Storage is identified by the device id “es0”.


{| class="wikitable"
{| class="wikitable"
Line 15: Line 13:
| da0x1 || preinst2 || msdosfs || SAMU HDD Key || ||
| da0x1 || preinst2 || msdosfs || SAMU HDD Key || ||
|-
|-
| da0x2 || eap_kern || raw || EAP Kernel Key from EAP KBL (not per-console, in sflash or PUP) || || Raw partition decrypted and uncompressed by EAP KBL to EAP DDR3 RAM.
| da0x2 || eap_kern || raw || EAP Kernel Key from EAP KBL (not per-console, in sflash or PUP) || || Raw partition decrypted and uncompressed by EAP KBL to EAP DDR3.
|-
|-
| da0x3 || eap_vsh || msdosfs || EAP HDD Key (per-console, in sflash) || ||
| da0x3 || eap_vsh || msdosfs || EAP HDD Key (per-console, in sflash) || ||
Line 35: Line 33:
| da0x6x2 || user log || ?raw or swapfs? || ?same as old swap? || ||
| da0x6x2 || user log || ?raw or swapfs? || ?same as old swap? || ||
|-
|-
| da0x7 || hiber || ? || ? || || May stand for hibernation so probably used for suspend mode.
| da0x7 || hiber || ? || ? || ||
|-
|-
| da0x8 || app_tmp || ufs || SAMU HDD Key || ||
| da0x8 || app_tmp || ufs || SAMU HDD Key || ||
Line 53: Line 51:
| da0x15 || app_reserved || ufs || SAMU HDD Key || || ?dmem swap?
| da0x15 || app_reserved || ufs || SAMU HDD Key || || ?dmem swap?
|-
|-
| da1 || ? || ?raw? || Plaintext || RW || USB Storage. There can be up to 8 USB storage devices simultaneously mounted to /mnt/usb0, ..., /mnt/usb7 so maybe da1 is not the only device for USB. See https://docs.freebsd.org/en/books/handbook/disks/#usb-disks.
| es0.crypt || ext_hdd || ? || ? || || Only present since about FW 4.50. Used for external HDD content management.
|-
| da1s?0? || ? || msdosfs/exfat || Plaintext || RW || USB Storage first partition. There can be up to 8 USB storage devices simultaneously mounted to /mnt/usb0, ..., /mnt/usb7 so maybe da1 is not the only device for USB. See https://docs.freebsd.org/en/books/handbook/disks/#usb-disks.
|-
| es0 || ext_hdd || ?ufs? || PS4-PS5 USB Extended Storage Key (not per-console) + per-HDD seed (not per-console) || RW || [[USB Extended Storage]]. Only present since System Software 4.50.
|}
|}


Line 64: Line 58:
=== Linux Disk Information ===
=== Linux Disk Information ===


<div style="float:right">[[File:PS4 500GB HDD as seen in Windows XP.png|200px|thumb|left|PS4 500GB HDD as seen with "GPT Protective Partition" in Windows XP/embedded/2003 32bit/x86]]<br />[[File:Partitions.png|200px|thumb|left|PS4 partitions as seen in 64-bit version of Windows XP/2003/Vista/2008/7/8/10]]</div>
<div style="float:right">[[File:PS4 500GB HDD as seen in Windows XP.png|200px|thumb|left|PS4 500GB HDD as seen with "GPT Protective Partition" in Windows XP/embedded/2003 32bit/x86]]<br />[[File:Partitions.png|200px|thumb|left|[http://pastie.org/9300133 PS4 partitions as seen in Windows Vista/2008/7/8/10] and 64-bit version of Windows XP/2003]]</div>
{| class="wikitable sortable"
{| class="wikitable sortable"
|-
|-
Line 101: Line 95:
|}
|}


'''Note:''' A raw dump of a 500 GB HDD from a never booted PS4 would take 500 GB ({{nts|500107861504}} bytes), which can be compressed to around 1.17 GB ({{nts|1168407328}} bytes) using the 7z algorithm. See [[ST500LM012]].
'''Note:''' A raw dump of a HDD from a never booted PS4 would take 500,1 GiB ({{nts|500107861504}} bytes), which would 7z compress nicely to around 1,2 GB ({{nts|1168407328}} bytes)


=== Cygwin Disk Information ===
=== Cygwin Disk Information ===
Line 140: Line 134:
|}
|}


=== PS4 HDD partitions statistics logs ===
=== PS4 HDD partitions check logs ===


From SceShellCore logs of a 5.05 PS4 TestKit DUH-T1200 when suspending, with stock 500GB HDD and USB Extended Storage:
From logs of a 5.05 PS4 testkit CUH-12xx when suspending, with stock 500GB HDD:
<pre>
<pre>
[SceShellCore][StorageStatsReport] HDD partition [WRITE] :
[SceShellCore][StorageStatsReport] HDD partition [WRITE] :
Line 161: Line 155:
</pre>
</pre>


From SceShellCore logs of a 5.05 PS4 TestKit DUH-T1200 when suspending, after swapping HDD to a 512GB SSD, reinstalling firmware and reinitializing.
From logs of a 5.05 PS4 testkit CUH-12xx when suspending, after swapping HDD to a 512GB SSD, reinstalling firmware and reinitializing.
<pre>
<pre>
[SceShellCore][StorageStatsReport] HDD partition [WRITE] :
[SceShellCore][StorageStatsReport] HDD partition [WRITE] :
Line 179: Line 173:
</pre>
</pre>


* These displayed sizes are the written sizes since the last time the storage statistics were reset.
* These displayed sizes are the written sizes.
* Storage statistics are apparently reset during a System Software update.
* (b) stands for "backup" which is an inactive partition used when firmware update fails.
* Storage statistics are maybe stored in a file on the internal HDD.
* (b) stands for "backup" which is an inactive partition used when System Software update fails.


== Mountpoints ==
== Mountpoints ==
Line 214: Line 206:
| SceSysCore || nmount || /data || /user/data
| SceSysCore || nmount || /data || /user/data
|-
|-
| || ?nmount_ufs? || /dev/es0.crypt || ?/ext_hdd?
|   ||   || /dev/da1s1 || /mnt/usb0
|-
|  || ?nmount? || /dev/da1s1 || /mnt/usb0
|}
|}


Please note that all contributions to PS4 Developer wiki are considered to be released under the GNU Free Documentation License 1.2 (see PS4 Developer wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following hCaptcha:

Cancel Editing help (opens in new window)