Difference between revisions of "/private/var/lib"

From The iPhone Wiki
Jump to: navigation, search
m (/var/lib moved to /private/var/lib: Shifting to /private/var since /var is a symlink.)
(update on path)
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
  +
This folder is defined by the [[wikipedia:Filesystem Hierarchy System|HFS]] 2.3 as /var/lib, but per Apple's naming scheme, they decided to place it here. To work around this issue, there is a symlink at /var that redirects to /private/var.
== Summary ==
 
   
  +
This is defined as a folder to hold "state information pertaining to an application or the system. State information is data that programs modify while they run, and that pertains to one specific host." Users should "never need to modify files in /var/lib."
   
  +
What is odd is that user applications' preferences are actually stored in their [[/private/var/mobile|jailed]] directory at [[/private/var/mobile/Containers/Data/$uuid$/Library]] ([[/private/var/mobile/Applications/$uuid$/Library]] prior to [[iOS]] 8) under whatever name they choose. Applications located under [[/Applications]] store their preferences in [[/private/var/mobile/Library/Preferences]].
 
== Parents ==
 
[[/var]]
 
   
 
== Children ==
 
== Children ==
  +
=== Folders ===
  +
* {{ipfw|apt}} (file lists of installed [[wikipedia:deb (file format)|deb]]s)
  +
* {{ipfw|cydia}} (created by Cydia)
  +
* {{ipfw|dpkg}}
  +
* {{ipfw|misc}}
  +
=== Files ===
  +
(none)
   
  +
== Parents ==
  +
{{parent|private|var}}
   
  +
== References ==
  +
* [http://refspecs.linuxfoundation.org/FHS_2.3/fhs-2.3.html#VARLIBVARIABLESTATEINFORMATION FHS 2.3 on /var/lib]
   
  +
[[Category:Filesystem]]
== Files ==
 

Latest revision as of 17:17, 1 February 2015

This folder is defined by the HFS 2.3 as /var/lib, but per Apple's naming scheme, they decided to place it here. To work around this issue, there is a symlink at /var that redirects to /private/var.

This is defined as a folder to hold "state information pertaining to an application or the system. State information is data that programs modify while they run, and that pertains to one specific host." Users should "never need to modify files in /var/lib."

What is odd is that user applications' preferences are actually stored in their jailed directory at /private/var/mobile/Containers/Data/$uuid$/Library (/private/var/mobile/Applications/$uuid$/Library prior to iOS 8) under whatever name they choose. Applications located under /Applications store their preferences in /private/var/mobile/Library/Preferences.

Children

Folders

Files

(none)

Parents

(root)/private/var

References