I am a beginner in Mac OS. Till now I was using Windows. I know a little about the registry in Windows.
Does Mac OS X manage registries for installed application?
- If yes
- Where is the registry stored?
- How do you modify this registry?
- Reference link regarding Mac OS registry management.
- If no
- what system does Mac OS X follow for installed application?
- Reference links regarding Mac OS application management.
5 Answers
There's no registry in Mac OS.
However, you can find most application settings in the Library/Preferences folder. Most apps saves their settings there in separate files. This is not something that's managed by the OS. There's no hive, there's no regedit, nothing like that, Just a bunch of plist files.
3One should add that some programs — mainly those with a Unix or Linux background — are likely to store their data in ~/ in a dotted (thus invisible to the Finder) folder or somewhere inside ~/.config .
So, in the end it is not too simple, unfortunately.
6Yes, to some degree the so-called Launch Services Database compares to the HKEY_CLASSES_ROOT section of the Windows registry. It is used to determine what applications are willing to open certain documents or URLs, and how they can be used (like to edit or to view). It also tells OS X which application can create the icons as shown in, for example, Finder.
When, for example, you drop some new application into the Applications folder, OS X will notice that and register the new application. This way, there's often no need to run a set up program like in Windows. If this database gets messed up, then one can quite easily rebuild it.
(Likewise, Quick Look might keep a list of generators it has found earlier, but I guess such cache would be updated automatically whenever needed. If one explicitly selects some application to open a file, then that is stored in the file's resource fork.)
3Apple does not have a registry like Windows, much to most users glee. Applications themselves are self contained bundles, which at the low-level are really a folder with all the things the app needs to run. This makes application management easy. To install, you just drag the app to the Applications folder. To delete, you just delete it in the Applications folder.
To save preferences and the like for a given application and users, things called property lists are used (plist is the extension for these files). The common place for finding these things are ~/Library/Preferences Applications will also store user specific data/settings in ~/Library/Application Support
Generally these things are modified through the applications GUI, most Apple apps have a Preferences menu. There are a few ways to modify these settings by hand, but tread with similar care as you would before modifying the Windows Registry (though at worst you would break only a specific app and not the entire OS). You can use the utility app Property List Editor to modify plists (which are basically just XML files with key/value pairs). Also you can use the command line "defaults" command. Try "man defaults" from the terminal for more info. But again, this is for the brave at heart.
Hope that helps some.
1Don't forget the System Configuration database which holds network settings:
man scutil
NAME scutil -- Manage system configuration parameters
SYNOPSIS scutil scutil --prefs [preference-file] scutil -r [-W] { nodename | address | local-address remote-address } scutil -w dynamic-store-key [-t timeout] scutil --get pref scutil --set pref [newval] scutil --dns scutil --proxy scutil --nc nc-arguments
DESCRIPTION Invoked with no options, scutil provides a command line interface to the "dynamic store" data maintained by configd(8). Interaction with this data (using the SystemConfiguration.framework SCDynamicStore APIs) is handled with a set of commands read from standard input. A list of the available commands is available by entering the help directive.