The iPhone Wiki is no longer updated. Visit this article on The Apple Wiki for current information. |
Difference between revisions of "/private/var/lib"
m |
|||
Line 5: | Line 5: | ||
What is odd is that user applications' preferences are actually stored in their [[/private/var/mobile|jailed]] directory at /private/var/mobile/Applications/{UUID}/Library under whatever name they choose. Applications located under [[/Applications]] store their preferences in [[/var/mobile/Library/Preferences]]/{INTERNAL_NAME}.plist |
What is odd is that user applications' preferences are actually stored in their [[/private/var/mobile|jailed]] directory at /private/var/mobile/Applications/{UUID}/Library under whatever name they choose. Applications located under [[/Applications]] store their preferences in [[/var/mobile/Library/Preferences]]/{INTERNAL_NAME}.plist |
||
− | /var/lib/<name> is the location that must be used for all distribution packaging support. Different distributions may use different names, of course. |
||
== Children == |
== Children == |
||
=== Folders === |
=== Folders === |
Revision as of 22:00, 20 November 2012
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."1
What is odd is that user applications' preferences are actually stored in their jailed directory at /private/var/mobile/Applications/{UUID}/Library under whatever name they choose. Applications located under /Applications store their preferences in /var/mobile/Library/Preferences/{INTERNAL_NAME}.plist
Children
Folders
Files
(none)
Parents
(root)/private/var (Root)/private/var