Difference between revisions of "/private/var"

From The iPhone Wiki
Jump to: navigation, search
(template)
(update)
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>.
== Overview ==
 
  +
'''/private/var''' is the mount point for [[:/dev/disk0s2]], which is the iPhone's user/data partition. It is the larger of the two partitions, and stores all App Store applications, iTunes media, settings, photos, etc. Pre-1.1.3, 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]].
 
  +
It is the larger of the two partitions, and stores all App Store applications, iTunes media, settings, photos, etc.
  +
  +
Before [[iOS|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 ==
 
== Children ==
 
=== Folders ===
 
=== Folders ===
  +
* {{ipfw|audit}} (unused; [[iOS]] 6.0+?)
* [[/private/var/backups|backups]] (not used in iOS)
 
  +
* {{ipfw|backups}} (unused)
* [[/private/var/cache|cache]] (not officially used in iOS)
 
  +
* {{ipfw|cache}} (used by <code>[[wikipedia:Advanced Packaging Tool|apt-get]] and [[wikipedia:GNU Find Utilities|GNU Find Utilities]])
* [[/private/var/db|db]]
 
  +
* {{ipfw|db}}
* [[/private/var/empty|empty]]
 
  +
* {{ipfw|ea}} (unused; [[iOS]] 6.0+?)
* [[/private/var/folders|folders]] (not used in iOS)
 
  +
* {{ipfw|empty}}
* [[/private/var/Keychains|Keychains]]
 
  +
* {{ipfw|folders}} (unused)
* [[/private/var/Keybags|Keybags]] (on iOS 4.0 and above)
 
  +
* {{ipfw|keybags}} ([[iOS]] 4.0+)
* [[/private/var/lib|lib]]
 
  +
* {{ipfw|Keychains}}
* [[/private/var/local|local]]
 
  +
* {{ipfw|lib}}
* [[/private/var/lock|lock]]
 
  +
* {{ipfw|local}}
* [[/private/var/log|log]]
 
  +
* {{ipfw|lock}}
* [[/private/var/logs|logs]]
 
  +
* {{ipfw|log}}
* [[/private/var/Managed Preferences|Managed Preferences]]
 
  +
* {{ipfw|logs}}
* [[/private/var/mobile|mobile]] (Home folder for user <nowiki>mobile</nowiki>)
 
  +
* {{ipfw|Managed Preferences}}
* [[/private/var/MobileDevice|MobileDevice]]
 
  +
* {{ipfw|mobile}} (home folder for [[Users#mobile|mobile user]])
* [[/private/var/msgs|msgs]]
 
  +
* {{ipfw|MobileDevice}}
* [[/private/var/preferences|preferences]]
 
  +
* {{ipfw|MobileSoftwareUpdate}} (used for [[OTA Updates]]; [[iOS]] 5.0+)
* [[/private/var/root|root]] (Home folder for user <nowiki>root</nowiki>)
 
  +
* {{ipfw|msgs}}
* [[/private/var/run|run]]
 
  +
* {{ipfw|preferences}}
* [[/private/var/spool|spool]] (not used in iOS)
 
  +
* {{ipfw|root}} (home folder for [[Users#root|root user]])
* [[/private/var/stash|stash]] (not officially used in iOS, created by [[Cydia Application|Cydia]]'s root partition freeing code)
 
  +
* {{ipfw|run}} (used by [[lockdownd]])
* [[/private/var/tmp|tmp]]
 
  +
* {{ipfw|spool}} (unused)
* [[/private/var/vm|vm]] (not officially used in iOS because it doesn't support swap files or hibernation)
 
  +
* stash (created by [[Cydia.app|Cydia]]'s root partition freeing code)
* [[/private/var/wireless|wireless]] (on iOS 4.0 and above)
 
  +
* {{ipfw|tmp}} ([[/dev/disk0s3]]?)
* [[/private/var/www|www]] (Created after installing phppod)
 
  +
* {{ipfw|vm}} (unused as [[iOS]] doesn't support swap files or hibernation)
  +
* {{ipfw|wireless}} (unused; [[iOS]] 4.0+)
 
=== Files ===
 
=== Files ===
 
(none)
 
(none)
   
 
== Parents ==
 
== Parents ==
* [[/|(Root)]]/[[/private|private]]
+
{{parent|private}}

Revision as of 20:22, 20 November 2012

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.

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