Difference between revisions of "/private/var"

From The iPhone Wiki
Jump to: navigation, search
m
m (Folders: Removing the link markers.)
Line 8: Line 8:
 
== Children ==
 
== Children ==
 
=== Folders ===
 
=== Folders ===
* {{ipfw|audit}} (unused; [[iOS]] 6.0+?)
+
* audit (unused; [[iOS]] 6.0+?)
* {{ipfw|backups}} (unused)
+
* backups (unused)
* {{ipfw|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>)
* {{ipfw|db}}
+
* db
* {{ipfw|ea}} (unused; [[iOS]] 6.0+?)
+
* ea (unused; [[iOS]] 6.0+?)
* {{ipfw|empty}}
+
* empty
* {{ipfw|folders}} (unused)
+
* folders (unused)
* {{ipfw|keybags}} ([[iOS]] 4.0+)
+
* keybags ([[iOS]] 4.0+)
* {{ipfw|Keychains}}
+
* Keychains
* {{ipfw|lib}}
+
* lib
* {{ipfw|local}}
+
* local
* {{ipfw|lock}}
+
* lock
* {{ipfw|log}}
+
* log
* {{ipfw|logs}}
+
* logs
* {{ipfw|Managed Preferences}}
+
* Managed Preferences
* {{ipfw|mobile}} (home folder for [[Users#mobile|mobile user]])
+
* mobile (home folder for mobile user)
* {{ipfw|MobileDevice}}
+
* MobileDevice
* {{ipfw|MobileSoftwareUpdate}} (used for [[OTA Updates]]; [[iOS]] 5.0+)
+
* MobileSoftwareUpdate (used for [[OTA Updates]]; [[iOS]] 5.0+)
* {{ipfw|msgs}}
+
* msgs
* {{ipfw|preferences}}
+
* preferences
* {{ipfw|root}} (home folder for [[Users#root|root user]])
+
* root (home folder for root user)
* {{ipfw|run}} (used by [[lockdownd]])
+
* run (used by lockdownd)
* {{ipfw|spool}} (unused)
+
* spool(unused)
 
* stash (created by [[Cydia.app|Cydia]])
 
* stash (created by [[Cydia.app|Cydia]])
* {{ipfw|tmp}} ([[/dev/disk0s3]])
+
* tmp (/dev/disk0s3)
* {{ipfw|vm}} (unused as [[iOS]] doesn't support swap files or hibernation)
+
* vm (unused as [[iOS]] doesn't support swap files or hibernation)
* {{ipfw|wireless}} ([[iOS]] 4.0+)
+
* wireless ([[iOS]] 4.0+)
  +
 
=== Files ===
 
=== Files ===
 
(none)
 
(none)

Revision as of 12:28, 14 September 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 to private/var, 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+?)
  • backups (unused)
  • cache (used by apt-get and GNU Find Utilities)
  • db
  • ea (unused; iOS 6.0+?)
  • empty
  • folders (unused)
  • keybags (iOS 4.0+)
  • Keychains
  • lib
  • local
  • lock
  • log
  • logs
  • 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)

Parents

(root)/private