The iPhone Wiki is no longer updated. Visit this article on The Apple Wiki for current information. |
Difference between revisions of "/private/var"
m (category mark) |
(→Children: Deleted files not on stock IPSW.) |
||
Line 8: | Line 8: | ||
=== Folders === |
=== Folders === |
||
* {{ipfw|audit}} (unused; [[iOS]] 6.0+?) |
* {{ipfw|audit}} (unused; [[iOS]] 6.0+?) |
||
− | * {{ipfw|backups}} (unused) |
||
− | * {{ipfw|cache}} (used by <code>[[wikipedia:Advanced Packaging Tool|apt-get]]</code> and <code>[[wikipedia:GNU Find Utilities|GNU Find Utilities]]</code>) |
||
* {{ipfw|db}} |
* {{ipfw|db}} |
||
* {{ipfw|ea}} (unused; [[iOS]] 6.0+?) |
* {{ipfw|ea}} (unused; [[iOS]] 6.0+?) |
||
* {{ipfw|empty}} |
* {{ipfw|empty}} |
||
* {{ipfw|folders}} (unused) |
* {{ipfw|folders}} (unused) |
||
− | * {{ipfw|keybags}} ([[iOS]] 4.0+) |
||
* {{ipfw|Keychains}} |
* {{ipfw|Keychains}} |
||
− | * {{ipfw|lib}} |
||
− | * {{ipfw|local}} |
||
− | * {{ipfw|lock}} |
||
* {{ipfw|log}} |
* {{ipfw|log}} |
||
* {{ipfw|logs}} |
* {{ipfw|logs}} |
||
Line 24: | Line 18: | ||
* {{ipfw|mobile}} (home folder for [[Users#mobile|mobile user]]) |
* {{ipfw|mobile}} (home folder for [[Users#mobile|mobile user]]) |
||
* {{ipfw|MobileDevice}} |
* {{ipfw|MobileDevice}} |
||
− | * {{ipfw|MobileSoftwareUpdate}} (used for [[OTA Updates]]; [[iOS]] 5.0+) |
||
* {{ipfw|msgs}} |
* {{ipfw|msgs}} |
||
* {{ipfw|preferences}} |
* {{ipfw|preferences}} |
||
Line 30: | Line 23: | ||
* {{ipfw|run}} (used by [[lockdownd]]) |
* {{ipfw|run}} (used by [[lockdownd]]) |
||
* {{ipfw|spool}} (unused) |
* {{ipfw|spool}} (unused) |
||
+ | * {{ipfw|tmp}} |
||
− | * stash (created by [[Cydia.app|Cydia]]'s root partition freeing code) |
||
− | * {{ipfw|tmp}} ([[/dev/disk0s3]]) |
||
* {{ipfw|vm}} (unused as [[iOS]] doesn't support swap files or hibernation) |
* {{ipfw|vm}} (unused as [[iOS]] doesn't support swap files or hibernation) |
||
* {{ipfw|wireless}} ([[iOS]] 4.0+) |
* {{ipfw|wireless}} ([[iOS]] 4.0+) |
Revision as of 20:14, 10 April 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 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
- audit (unused; iOS 6.0+?)
- db
- ea (unused; iOS 6.0+?)
- empty
- folders (unused)
- Keychains
- log
- logs
- Managed Preferences
- mobile (home folder for mobile user)
- MobileDevice
- msgs
- preferences
- root (home folder for root user)
- run (used by lockdownd)
- spool (unused)
- tmp
- vm (unused as iOS doesn't support swap files or hibernation)
- wireless (iOS 4.0+)
Files
(none)