Difference between revisions of "/private/var"

From The iPhone Wiki
Jump to: navigation, search
(In the process of merging /var/ with /private/var/.)
Line 3: Line 3:
   
 
== Parents ==
 
== Parents ==
[[/| Root]]
+
[[/]]
  +
[[/private]]
   
 
== Children ==
 
== Children ==
  +
* [[/private/var/backups|backups]]
<ul>
 
<li>[[/private/var/Keychains| Keychains]]</li>
+
* [[/private/var/cache|cache]]
<li>[[/private/var/lib| lib]]</li>
+
* [[/private/var/db|db]]
<li>[[/private/var/root| root]]</li>
+
* [[/private/var/empty|empty]]
<li>[[/private/var/mobile| mobile]]</li>
+
* [[/private/var/folders|folders]]
  +
* [[/private/var/Keychains|Keychains]]
</ul>
 
  +
* [[/private/var/lib|lib]]
  +
* [[/private/var/local|local]]
  +
* [[/private/var/lock|lock]]
  +
* [[/private/var/log|log]]
  +
* [[/private/var/logs|logs]]
  +
* [[/private/var/Managed Preferences|Managed Preferences]]
  +
* [[/private/var/mobile|mobile]]
  +
* [[/private/var/MobileDevice|MobileDevice]]
  +
* [[/private/var/msgs|msgs]]
  +
* [[/private/var/preferences|preferences]]
  +
* [[/private/var/root|root]]
  +
* [[/private/var/run|run]]
  +
* [[/private/var/spool|spool]]
  +
* [[/private/var/stash|stash]]
  +
* [[/private/var/tmp|tmp]]
  +
* [[/private/var/vm|vm]]

Revision as of 02:41, 26 July 2010

Overview

/private/var is the mount point for /dev/disk0s2, which is the iPhone's user/data partition. It is the larger of the two partitions, and stores all App Store applications, iTunes media, settings, photos, etc. Pre-1.1.3, all of this data was stored in /private/var/root. However, for security reasons, in 1.1.3 Apple made most applications run under the user mobile, and moved all of the data to /private/var/mobile.

Parents

/ /private

Children