Difference between revisions of "/private/var"

From The iPhone Wiki
Jump to: navigation, search
m
(adding links to existing articles that were on Special:LonelyPages)
Line 9: Line 9:
 
=== Folders ===
 
=== Folders ===
 
* audit (unused; [[iOS]] 6.0+?)
 
* audit (unused; [[iOS]] 6.0+?)
* backups (unused)
+
* [[/private/var/backups|backups]] (unused)
 
* cache (used by <code>[[wikipedia:Advanced Packaging Tool|apt-get]]</code> and <code>[[wikipedia:GNU Find Utilities|GNU Find Utilities]]</code>)
 
* cache (used by <code>[[wikipedia:Advanced Packaging Tool|apt-get]]</code> and <code>[[wikipedia:GNU Find Utilities|GNU Find Utilities]]</code>)
  +
* [[/private/var/db|db]]
* db
 
 
* ea (unused; [[iOS]] 6.0+?)
 
* ea (unused; [[iOS]] 6.0+?)
* empty
+
* [[/private/var/empty|empty]]
* folders (unused)
+
* [[/private/var/folders|folders]] (unused)
 
* keybags ([[iOS]] 4.0+)
 
* keybags ([[iOS]] 4.0+)
 
* Keychains
 
* Keychains
  +
* [[/private/var/lib|lib]]
* lib
 
* local
+
* [[/private/var/local|local]]
* lock
+
* [[/private/var/lock|lock]]
 
* log
 
* log
  +
* logs (which contains [[/private/var/logs/AppleSupport]])
* logs
 
 
* Managed Preferences
 
* Managed Preferences
 
* mobile (home folder for mobile user)
 
* mobile (home folder for mobile user)
Line 27: Line 27:
 
* MobileSoftwareUpdate (used for [[OTA Updates]]; [[iOS]] 5.0+)
 
* MobileSoftwareUpdate (used for [[OTA Updates]]; [[iOS]] 5.0+)
 
* msgs
 
* msgs
* preferences
+
* [[/private/var/preferences|preferences]]
 
* root (home folder for root user)
 
* root (home folder for root user)
* run (used by lockdownd)
+
* [[/private/var/run|run]] (used by lockdownd)
 
* spool(unused)
 
* spool(unused)
 
* stash (created by [[Cydia.app|Cydia]])
 
* stash (created by [[Cydia.app|Cydia]])
Line 37: Line 37:
   
 
=== Files ===
 
=== Files ===
  +
* [[/private/var/log/kernel.log|kernel.log]]
(none)
 
   
 
== Parents ==
 
== Parents ==

Revision as of 21:20, 30 September 2013

This folder is the mount point for /dev/disk0s2, which is the device's user/data partition. This deviates from the Filesystem Hierarchy Standard which places this at /var, however, a sym-link is placed at /var that redirects to here, so it is at least somewhat complient.

It is the larger of the two partitions, and stores all App Store applications, iTunes media, settings, photos, etc.

Before iPhone OS 1.1.3 (1.1.2 and below) 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.

Children

Folders

Files

Parents

(root)/private