Skip the navigation

Alternatives to the Registry

By Carol Sliwa
April 29, 2002 12:00 PM ET

Computerworld - Microsoft Corp. now stores system configuration information in binary format in its Windows registry, but other vendors take different approaches to achieve the same goal.

The Linux operating system stores configuration information in flat text files that are organized in hierarchical fashion, says David Mason, manager of Linux operating system development at Red Hat Inc. in Raleigh, N.C. The /etc directory is used for host-specific system configuration data, and the /var directory contains variable configuration data, such as print spools, he notes, adding that this is the same mechanism used by other Unix systems.

"It's sort of like the Windows 3.1 era with their .ini files," Mason says.

But change is afoot. According to Mason, the GConf project aims to create a key and value system for configuration data and store that data in XML. "The idea of storing configuration data in a database is a good idea, because you can run queries on it easily," Mason says. "And a key and value system is a good idea as long as you can read and understand the data. ... With XML data, you will have a more standardized way of presenting configuration data."

Mason says developers working on the project aim to make it easy for systems administrators to push configuration data to thousands of users.

An early version of GConf shipped with the Red Hat Linux 7.2 operating system, "but nothing actually takes advantage of it yet," Mason says. He says he expects initial adoption to happen in the GNU Object Model Environment (Gnome), the graphical user interface for Linux. "I'm not sure how far it will go past that," Mason says. "I think a lot of people will prefer the text file."

Apple Computer Inc.'s Mac OS X already stores user settings in standard flat files using the XML format, company spokesman Bill Evans says. The operating system has an application called System Preferences that contains the controls users need to customize system settings.

Each user on a computer has a home directory for storing preferences, files and personal documents. "One of the advantages of this storage method is easy migration," Evans says. "Since there are no cryptic data stores to move -- only standard XML files -- a user can quickly migrate to a new Macintosh by simply copying the contents of their home directory to the new computer."

Evans says the operating system stores information about itself in a directory called NetInfo, which uses standard key-value pairs. IT administrators can inspect and modify the information using the NetInfo Manager application that ships with Mac OS X, he says.

Sun Microsystems Inc.'s Solaris operating system takes a network-centric approach to look up much of the information that Microsoft stores in its Windows registry, according to Derek Maxwell, a product line manager for Solaris systems management. Maxwell says system information is separated from user information in Solaris, which has three different mechanisms for accessing configuration data.

User-specific information, such as profiles and desktop preferences, is stored in files located in home directories and accessed via the Network File System (NFS), Maxwell says. The file format depends on the windowing system being run, such as Common Desktop Environment or Gnome, he notes.

When a user starts up a windowing system, the computer accesses the profile from the user's home directory on an NFS server to find out how his desktop environment should look, Maxwell says. A user who plans to work while disconnected needs to copy the files into a home directory on the computer so the machine can access the information from the local file system.

System-centric information such as passwords, user names, groups that can access a machine, network services and IP addresses is stored in namespaces that can be accessed via a network repository service, such as Network Information System (NIS) or a Lightweight Directory Access Protocol directory, Maxwell says. Namespaces are created in flat text files, and a program is run to compile them up to the name service, which centrally stores the information in binary file format, Maxwell says.

Maxwell says the system information used to be stored in flat text files on the local machine only, but Sun migrated to a name service like NIS to make it easier for systems administrators to make simultaneous changes on large groups of machines. Without the central name service, each Solaris workstation would need to maintain a local copy of the information.

Information about software and packages, however, is stored locally on the machine in the Solaris Product Registry, "because it's a property of the machine," Maxwell says.

"You're only storing the software and loading the software on the machine, so it's appropriate for that information just to be kept there," he says. The software registry can be queried using management tools, he says.
Read accompanying stories:


Read more about Operating Systems in Computerworld's Operating Systems Topic Center.



Additional Resources
Forrester Consulting - Optimizing Users and Applications in a Mobile World
WHITE PAPER
Solving application issues over the WAN requires careful consideration. Based on their independent research, Forrester Consulting offers recommendations on how to tackle application performance issues, insufficient bandwidth and the inability to quickly restore users in a disaster.

Read now.

Security KnowledgeVault
WHITE PAPER
Security is not an option. This KnowledgeVault Series offers professional advice how to be proactive in the fight against cybercrimes and multi-layered security threats; how to adopt a holistic approach to protecting and managing data; and how to hire a qualified security assessor. Make security your Number 1 priority.

Read now.

Cut Communications Costs Once and for All
WHITE PAPER
New IP-based communications systems are being deployed by small and midsized businesses at a rapid rate. Learn how these organizations are enabling faster responsiveness, creating better customer experiences, speeding office or mobile interactions, and dramatically reducing existing communications costs.

Read now.

Operating Systems White Papers
VMware View Optimization Guide for Windows 7
This document provides guidelines for configuring a standard Windows 7 image to be used within a VMware View™ environment, providing administrators with the...
Watson - A System Designed for Answers. The future of workload optimized systems design
Watson is a workload optimized system designed for complex analytics, made possible by integrating massively parallel POWER7 processors and DeepQA technology. Read the...
Overcome Top 7 Admin Challenges of Active Directory
As Active Directory's role in the enterprise has drastically increased, so has the need to secure the data. Gain insight on creating repeatable,...
Insiders Can Ruin Your Company. Take Action.
Did you know that 80 percent of threats to an organization come from the inside? The threat from insiders is often overlooked in...
Top Solutions and Tools to Prevent Devastating Malware
Custom malware frequently goes undetected. According to Forrester Research, the best way to reduce risk of breach is to deploy file integrity monitoring...
All Operating Systems White Papers
Operating Systems Webcasts
Optimizing Networks for the Cloud
Join guest speaker, Rohit Mehra, IDC Director of Enterprise Communications Infrastructure, to explore current trends, discuss best practices for optimizing Data Center and...
Apps QuickStart Series Part 2: Designing and Deploying SQL Server on VMware vSphere
Download this webcast to learn about the design considerations for virtualizing SQL workloads, performance and scalability information and high-availability options, as well as...
Apps QuickStart Series Part 1: Designing and Deploying Exchange 2010 on VMware vSphere
Download this webcast to learn the virtual hardware design considerations for Exchange 2010, deployment using the building block approach, options for high-availability and...
Customer Spotlight: How IPC The Hospitalist Company Implemented Oracle on VMware
Have you been looking to hear about customer's experiences with the new VMware vCenter Site Recovery Manager product? View this webcast to learn...
Virtualize Business-Critical Applications with Confidence
Virtualizing business-critical applications has become a key focus for organizations as they move along their virtualization journey. With the launch of VMware vSphere®...
All Operating Systems Webcasts
Newsletter Sign-Up

Receive the latest news test, reviews and trends on your favorite technology topics

Choose a newsletter
  1. View all newsletters | Privacy Policy
IT Jobs