Difference between revisions of "/private/var"

From The iPhone Wiki
Jump to: navigation, search
m (Parents)
(iOS 4 updates)
Line 7: Line 7:
   
 
== Children ==
 
== Children ==
* [[/private/var/backups|backups]]
+
* [[/private/var/backups|backups]] (not used in iOS)
* [[/private/var/cache|cache]]
+
* [[/private/var/cache|cache]] (not officially used in iOS)
* [[/private/var/db|db]]
+
* [[/private/var/db|db]] (not used in iOS ?)
* [[/private/var/empty|empty]]
+
* [[/private/var/empty|empty]] (not used in iOS ?)
* [[/private/var/folders|folders]]
+
* [[/private/var/folders|folders]] (not used in iOS)
 
* [[/private/var/Keychains|Keychains]]
 
* [[/private/var/Keychains|Keychains]]
  +
* [[/private/var/Keybags|Keybags]] (on iOS 4.0 and above)
 
* [[/private/var/lib|lib]]
 
* [[/private/var/lib|lib]]
 
* [[/private/var/local|local]]
 
* [[/private/var/local|local]]
Line 19: Line 20:
 
* [[/private/var/logs|logs]]
 
* [[/private/var/logs|logs]]
 
* [[/private/var/Managed Preferences|Managed Preferences]]
 
* [[/private/var/Managed Preferences|Managed Preferences]]
* [[/private/var/mobile|mobile]]
+
* [[/private/var/mobile|mobile]] (Home folder for user <nowiki>mobile</nowiki>)
 
* [[/private/var/MobileDevice|MobileDevice]]
 
* [[/private/var/MobileDevice|MobileDevice]]
 
* [[/private/var/msgs|msgs]]
 
* [[/private/var/msgs|msgs]]
 
* [[/private/var/preferences|preferences]]
 
* [[/private/var/preferences|preferences]]
* [[/private/var/root|root]]
+
* [[/private/var/root|root]] (Home folder for user <nowiki>root</nowiki>)
 
* [[/private/var/run|run]]
 
* [[/private/var/run|run]]
* [[/private/var/spool|spool]]
+
* [[/private/var/spool|spool]] (not used in iOS)
* [[/private/var/stash|stash]]
+
* [[/private/var/stash|stash]] (not officially used in iOS, created by [[Cydia]]'s root partition freeing code)
 
* [[/private/var/tmp|tmp]]
 
* [[/private/var/tmp|tmp]]
* [[/private/var/vm|vm]]
+
* [[/private/var/vm|vm]] (not used in iOS)
  +
* [[/private/var/wireless|wireless]] (on iOS 4.0 and above)

Revision as of 21:56, 15 August 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

Children