I know that iOS has two partitions, but I've never found anywhere that gives clues as to where they split. Is one partition on / and the other on /var/mobile/, or are all the user profiles (/var/root/, /var/wireless/, etc) on the second partition (at /var)? Is it possible to resize these partitions? On the same note, is /var a symbolic link to /private/var/ or is it the other way around?

  • 1
    /var is a symlink to /private/var (same in OS X). As is /etc a symlink to /private/etc. – user10355 Mar 22 '12 at 6:07

/ is the mount point for /dev/disk0s1s1; /private/var is the mount point for /dev/disk0s1s2.

Cydia's storage info

disk0s1s1 is reserved for iOS system files. It is equivalent to OS X's /System and /Library directories. It is the smaller of the two partitions (the size can be set using Redsn0w or Sn0wbreeze during the jailbreak process). The default size is set to 1 GB for iOS 5 and around 600-700 MB in previous versions.

disk0s1s2 is reserved (as of iOS 1.1.3) for user data (3rd party applications, music, photos, etc.). It is the larger of the two and varies depending on the flash memory available (which is dependent on the device purchased).

The layout of the disk is stored in /etc/fstab, which is also used by jailbreak tools to make the system partition writable.

| improve this answer | |

One partition is mounted as "/" and contains OS, basic apps and firmware upgrades. The other is mounted as "/private/var" and contains pretty much everything else (apps, iPhoto data, SMS etc.).

Why would you want to resize these partitions? I don't believe it is possible.

| improve this answer | |
  • I've heard that they get resized during the JailBreaking process, and I seem to run out of space quickly on the Syetem partition. If they could be resized, I could install more tweaks and system applications. – Andrew Larsson Mar 22 '12 at 5:39
  • Are there any references you could give in your answer? Does the "Storage: ---MB on / ----MB on /var" information in SBSettings have anything to do with the partitions? – Andrew Larsson Mar 22 '12 at 5:46
  • Sorry I don't know SBSettings - I don't jailbreak. My information comes from the two books I know on iPhone Forensics, there is one by Jonathan A. Zdziarski (published 2008) and one by Andrew Hoog and Katie Strzempka (published 2011). There's another by Sean Morrissey (published 2010) but I don't have it. – Adam Eberbach Mar 22 '12 at 7:07
  • 1
    @AndrewLarsson Yes, the values in SBSettings reflect how much space is used/remaining in each partition. – user10355 Mar 25 '12 at 4:24

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .