The iPhone Wiki is no longer updated. Visit this article on The Apple Wiki for current information. |
Difference between revisions of "/private/var"
Awesomebing1 (talk | contribs) (Wrong place.) |
m (spelling) |
||
Line 1: | Line 1: | ||
{{lowercase}} |
{{lowercase}} |
||
− | This folder is the mount point for <code>/dev/disk0s2</code> (<code>/dev/disk0s1s2</code> on modern iOS versions), which is the [[iDevice|device]]'s user/data partition. This deviates from the [[wikipedia:Filesystem Hierarchy Standard|Filesystem Hierarchy Standard]] which places this at <code>/var</code>, however, a sym-link is placed at <code>/var</code> that redirects to here, so it is at least somewhat |
+ | This folder is the mount point for <code>/dev/disk0s2</code> (<code>/dev/disk0s1s2</code> on modern iOS versions), which is the [[iDevice|device]]'s user/data partition. This deviates from the [[wikipedia:Filesystem Hierarchy Standard|Filesystem Hierarchy Standard]] which places this at <code>/var</code>, however, a sym-link is placed at <code>/var</code> 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. |
It is the larger of the two partitions, and stores all App Store applications, iTunes media, settings, photos, etc. |
Revision as of 09:56, 26 June 2016
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)
- cache (used by
apt-get
andGNU Find Utilities
) - 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)
- MobileDevice
- MobileSoftwareUpdate (used for OTA Updates; iOS 5.0+)
- msgs
- preferences
- root (home folder for root user)
- run (used by lockdownd)
- spool(unused)
- stash (created by Cydia)
- tmp (/dev/disk0s3)
- vm (unused as iOS doesn't support swap files or hibernation)
- wireless (iOS 4.0+)
Files
(none)