Difference between revisions of "/private/var"

From The iPhone Wiki
Jump to: navigation, search
m
m
Line 1: Line 1:
This folder is the mount point for [[:/dev/disk0s2]], 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>.
+
This folder is the mount point for [[:/dev/disk0s2]], 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 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.
 
It is the larger of the two partitions, and stores all App Store applications, iTunes media, settings, photos, etc.
Line 31: Line 31:
 
* {{ipfw|spool}} (unused)
 
* {{ipfw|spool}} (unused)
 
* stash (created by [[Cydia.app|Cydia]]'s root partition freeing code)
 
* stash (created by [[Cydia.app|Cydia]]'s root partition freeing code)
* {{ipfw|tmp}} ([[/dev/disk0s3]]?)
+
* {{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 01:34, 3 January 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

Files

(none)

Parents

(root)/private