Difference between revisions of "/private/var"

From The iPhone Wiki
Jump to: navigation, search
(adding links to existing articles that were on Special:LonelyPages)
m (Folders)
Line 21: Line 21:
 
* [[/private/var/lock|lock]]
 
* [[/private/var/lock|lock]]
 
* log
 
* log
* logs (which contains [[/private/var/logs/AppleSupport]])
+
* [[/private/var/logs|logs]] (which contains [[/private/var/logs/AppleSupport]])
 
* Managed Preferences
 
* Managed Preferences
* mobile (home folder for mobile user)
+
* [[/private/var/mobile|mobile]] (home folder for mobile user)
* MobileDevice
+
* [[/private/var/MobileDevice|MobileDevice]]
 
* MobileSoftwareUpdate (used for [[OTA Updates]]; [[iOS]] 5.0+)
 
* MobileSoftwareUpdate (used for [[OTA Updates]]; [[iOS]] 5.0+)
 
* msgs
 
* msgs
 
* [[/private/var/preferences|preferences]]
 
* [[/private/var/preferences|preferences]]
* root (home folder for root user)
+
* [[/private/var/root|root]] (home folder for root user)
 
* [[/private/var/run|run]] (used by lockdownd)
 
* [[/private/var/run|run]] (used by lockdownd)
 
* spool(unused)
 
* spool(unused)
* stash (created by [[Cydia.app|Cydia]])
+
* [[/private/var/stash|stash]] (created by [[Cydia.app|Cydia]])
* tmp (/dev/disk0s3)
+
* [[/private/var/tmp|tmp]] (/dev/disk0s3)
 
* vm (unused as [[iOS]] doesn't support swap files or hibernation)
 
* vm (unused as [[iOS]] doesn't support swap files or hibernation)
 
* wireless ([[iOS]] 4.0+)
 
* wireless ([[iOS]] 4.0+)

Revision as of 23:54, 16 October 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