Sponsored Content
Full Discussion: Registry
Top Forums UNIX for Dummies Questions & Answers Registry Post 302151636 by porter on Sunday 16th of December 2007 05:43:00 PM
Old 12-16-2007
Quote:
Originally Posted by cs05pp2
what Unix systems have for registry? windows have registry. Unix have ???
Liberally distributed configuration.

Start with everything under /etc for global configuration.

Then users have their own configuration in their own special places, start with $HOME.

An application's configuration can be, literally, anywhere.

Some applications have configuration in shell script style files, some in WIN.INI style files, some in XML, some in X resource files, others in other typically text file formats.

In the case of Solaris and many traditional UNIXes, start with "/etc/inittab".

In the case of NetBSD and similar start with "/etc/rc"

Last edited by porter; 12-16-2007 at 06:57 PM..
 

8 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

How to change the MTU in Unix registry?

Does anyone know how to or know of a web page where I can find how to change the MTU speed in Unix registry? Any info. would be greatly appreciated. Thanks, Techie (2 Replies)
Discussion started by: Techie_girl
2 Replies

2. UNIX for Dummies Questions & Answers

Comparable registry file in UNIX

Hi all, I am totally new to UNIX. I am currently using converting an existing software package from MFC C++ to wxwindow which allows the software to run under Windows and UNIX. My problem is my existing software package writes to and from the registry. How is this accomplished in UNIX? ... (2 Replies)
Discussion started by: DavidCountry
2 Replies

3. UNIX for Dummies Questions & Answers

about registry and sed command

can someone please explain the sed command and its purpose and an example of its use. Also can you explain the registry thing with an example also. thanks (3 Replies)
Discussion started by: djeung
3 Replies

4. Solaris

Registry analogous in Solaris

Hi, May seem to be an absurd question, still. As we have registry in Windows which keeps track of what is installed and where, what is its analogous thing in Solaris. Is this same in all Unix flavours or different. (4 Replies)
Discussion started by: vibhor_agarwali
4 Replies

5. AIX

How to see a Registry on AIX??

Hi Folks, Could you please help me with the command to find the Registry on AIX machine? For ex in windows we can see a products registry using the REGEDIT....In similar do we have any command for AIX? (1 Reply)
Discussion started by: nvindraneel
1 Replies

6. UNIX for Advanced & Expert Users

Read/update windows registry using UNIX script

Hi, I have a requirement where in to read the registry value of a windows NT based system from a AIX server which should be automatic. For eg. the script should connect to the Win NT system, read the registry as specified on the input and display the output on the AIX screen? Eg. <script... (3 Replies)
Discussion started by: sathish57
3 Replies

7. Shell Programming and Scripting

Why execution is different from orginal bash registry$database?

Hi all, here's my script #!/bin/ksh if then export DB_CREATE_PATH=`pwd` fi echo echo "********************--Menu--*****************************" echo "*** " echo "*** 1. Pre-Upgrade Steps "... (3 Replies)
Discussion started by: jediwannabe
3 Replies

8. Shell Programming and Scripting

how to get the value of a registry using csh script.

hi, how to get the value of a registry using csh script. thanks. (1 Reply)
Discussion started by: Rashid Khan
1 Replies
UCFR(1) 						      Debian GNU/Linux manual							   UCFR(1)

NAME
       ucfr - Update Configuration File Registry:  associate packages with configuration files

SYNOPSIS
       ucfr [options] <Package> <Path to configuration file>

DESCRIPTION
       Where  Package is the package associated with the configuration file (and, in some sense, its owner), and Path to configuration file is the
       full path to the location (usually under /etc) where the configuration file lives, and is potentially modified by the end user. Please note
       that  usually  this means that we register actual files, and not symbolic links to files.  ucfr will follow symbolic links and register the
       real file,  and not the symbolic link.

       This script maintains an association between configuration files and packages, and is meant to help provide facilities that  dpkg  provides
       conffiles  for  configuration files and not shipped in a Debian package, but handled by the postinst by ucf instead. This script is idempo-
       tent, associating a package to a file multiple times is not an error.  It is normally an error to try to associate a file which is  already
       associated with another package, but this can be overridden by using the --force option.

OPTIONS
       -h, --help
	      Print a short usage message

       -n, --no-action
	      Dry run. Print the actions that would be taken if the script is invoked, but take no action.

       -d [n], --debug [n]
	      Set the debug level to the (optional) level n (n defaults to 1). This turns on copious debugging information.

       -p, --purge
	      Removes all vestiges of the association between the named package and the configuration file from the registry. The association must
	      already exist; if the configuration file is associated with some other package, an error happens, unless the option --force is  also
	      given.  In that case, the any associations for the configuration file are removed from the registry, whether or not the package name
	      matches. This action is idempotent, asking for an association to be purged multiple  times  does	not  result  in  an  error,  since
	      attempting  to  remove  an  non-existent	association is silently ignored unless the --verbose option is used (in which case it just
	      issues a diagnostic).

       -v, --verbose
	      Make the script be very verbose about setting internal variables.

       -f, --force
	      This option forces operations requested even if the configuration file in consideration is owned by another package. This  allows  a
	      package  to hijack a configuration file from another package, or to purge the association between the file and some other package in
	      the registry.

       --state-dir /path/to/dir
	      Set the state directory to /path/to/dir instead of the default /var/lib/ucf.  Used mostly for testing.

USAGE
       The most common case usage is pretty simple: a single line invocation in the postinst on configure, and another single line in  the  postrm
       to tell ucfr to forget about the association with the configuration file on purge (using the  --purge option) is all that is needed (assum-
       ing ucfr is still on the system).

FILES
       /var/lib/ucf/registry, and /var/lib/ucf/registry.X, where X is a small integer, where previous versions of the registry are stored.

       /etc/ucf.conf

EXAMPLES
       If the package foo wants to use ucfr to associate itself with a configuration file foo.conf, a simple invocation of ucfr  in  the  postinst
       file is all that is needed:

       ucfr foo /etc/foo.conf

       On purge, one should tell ucf to forget about the file (see detailed examples in /usr/share/doc/ucf/examples):

       ucfr --purge foo /etc/foo.conf

       If you want to remove all the conf files for a given package foo, the simplest way is to use ucfq.  For example

       ucfq -w foo | cut -d : -f 1 | while read cfile ; do ucfr -v $cfile ; done

SEE ALSO
       ucf(1), ucf.conf(5).

AUTHOR
       This manual page was written Manoj Srivastava <srivasta@debian.org>, for the Debian GNU/Linux system.

Debian								    Feb 16 2018 							   UCFR(1)
All times are GMT -4. The time now is 11:41 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy