The iPhone Wiki is no longer updated. Visit this article on The Apple Wiki for current information. |
Difference between revisions of "/private/var"
m (spelling) |
(→Folders) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 10: | Line 10: | ||
* audit (unused; [[iOS]] 6.0+?) |
* audit (unused; [[iOS]] 6.0+?) |
||
* [[/private/var/backups|backups]] (unused) |
* [[/private/var/backups|backups]] (unused) |
||
+ | * [[/private/var/buddy|buddy]] (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/containers|containers]] |
||
* [[/private/var/db|db]] |
* [[/private/var/db|db]] |
||
* ea (unused; [[iOS]] 6.0+?) |
* ea (unused; [[iOS]] 6.0+?) |
||
Line 24: | Line 26: | ||
* Managed Preferences |
* Managed Preferences |
||
* [[/private/var/mobile|mobile]] (home folder for mobile user) |
* [[/private/var/mobile|mobile]] (home folder for mobile user) |
||
+ | * [[/private/var/MobileAsset|MobileAsset]] |
||
* [[/private/var/MobileDevice|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/networkd|networkd]] |
||
+ | * personalized_factory (unused) |
||
* [[/private/var/preferences|preferences]] |
* [[/private/var/preferences|preferences]] |
||
* [[/private/var/root|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) |
||
− | * |
+ | * select (unused) |
+ | * spool (unused) |
||
+ | * [[/private/var/staged_system_apps|staged_system_apps]] (empty) |
||
* [[/private/var/stash|stash]] (created by [[Cydia.app|Cydia]]) |
* [[/private/var/stash|stash]] (created by [[Cydia.app|Cydia]]) |
||
* [[/private/var/tmp|tmp]] (/dev/disk0s3) |
* [[/private/var/tmp|tmp]] (/dev/disk0s3) |
||
− | * vm (unused |
+ | * [[/private/var/vm|vm]] (unused in [[iOS]] =<11, [[iOS]] 12+ added swapfile support.) |
* wireless ([[iOS]] 4.0+) |
* wireless ([[iOS]] 4.0+) |
||
Latest revision as of 19:21, 31 August 2020
This folder is the mount point for /dev/disk0s2
(/dev/disk0s1s2
on modern iOS versions), 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 compliant.
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+?)
- backups (unused)
- buddy (unused)
- cache (used by
apt-get
andGNU Find Utilities
) - containers
- db
- ea (unused; iOS 6.0+?)
- empty
- folders (unused)
- keybags (iOS 4.0+)
- Keychains
- lib
- local
- lock
- log
- logs (which contains /private/var/logs/AppleSupport)
- Managed Preferences
- mobile (home folder for mobile user)
- MobileAsset
- MobileDevice
- MobileSoftwareUpdate (used for OTA Updates; iOS 5.0+)
- msgs
- networkd
- personalized_factory (unused)
- preferences
- root (home folder for root user)
- run (used by lockdownd)
- select (unused)
- spool (unused)
- staged_system_apps (empty)
- stash (created by Cydia)
- tmp (/dev/disk0s3)
- vm (unused in iOS =<11, iOS 12+ added swapfile support.)
- wireless (iOS 4.0+)
Files
(none)