unregister

Removes an entry from the vob_object or view_object registry

APPLICABILITY


Product

Command Type

ClearCase


cleartool subcommand


ClearCase LT


cleartool subcommand


Attache


command


Platform

UNIX


Windows

SYNOPSIS

unreg·ister -vob { -uui·d uuid | vob-storage-dir-pname }
unreg·ister -view { -uui·d uuid | view-storage-dir-pname }

DESCRIPTION

The unregister command removes the entry for a particular VOB or view from the network's vob_object or view_object registry. This does not affect VOB-tag or view-tag registry entries, and it does not affect the contents of the physical storage directories. See the Administrator's Guide for a discussion of the registry.

If you remove a VOB or view storage directory with an operating system command instead of rmvob or rmview, the VOB or view remains unregistered. In this case, you must use the -uuid option to unregister the associated storage directory (and use rmtag to remove relevant tag entries, if any still exist).

Other Commands that Affect Storage Registries

The mkview and mkvob commands add an entry to the appropriate registry; the rmview and rmvob commands remove registry entries (and the actual storage directories as well). You can use the register command to update an existing entry, or to re-register a VOB or view that has been unregistered.

The reformatvob command updates a VOB's object registry entry (or creates one, if necessary), but does not affect its tag registry entries.

RESTRICTIONS

None.

OPTIONS AND ARGUMENTS

UNREGISTERING VIEWS AND VOBS.  Default: None.

-vob vob-storage-dir-pname
-vob -uui·d vob-uuid

Use either form to specify the VOB whose vob_object registry entry is to be deleted. Use the VOB replica UUID reported by lsvob -long (not the VOB family UUID).
-view view-storage-dir-pname
-view -uui·d view-uuid

Use either form to specify the view whose view_object registry entry is to be deleted.

EXAMPLES

The UNIX examples in this section are written for use in csh. If you use another shell, you may need to use different quoting and escaping conventions.

The Windows examples that include wildcards or quoting are written for use in cleartool interactive mode. If you use cleartool single-command mode, you may need to change the wildcards and quoting to make your command interpreter process the command appropriately.

In cleartool single-command mode, cmd-context represents the UNIX shell or Windows command interpreter prompt, followed by the cleartool command. In cleartool interactive mode, cmd-context represents the interactive cleartool prompt. In Attache, cmd-context represents the workspace prompt.

NOTE: In the UNIX examples that follow, arguments and output that show multicomponent VOB tags are not applicable to ClearCase LT, which recognizes only single-component VOB tags. In this manual, a multicomponent VOB tag is by convention a two-component VOB tag of the form /vobs/vob-tag-leaf-for example, /vobs/src. A single-component VOB tag consists of a leaf only-for example, /src. In all other respects, the examples are valid for ClearCase LT.

SEE ALSO

mktag, mkview, mkvob, mount, register, umount, Administrator's Guide