register
Applicability
Product |
Command type |
---|---|
ClearCase® |
cleartool subcommand |
Platform |
---|
UNIX |
Linux |
Windows |
Synopsis
Description
The register command creates or replaces an entry in VOB or view object registries. The registries enable clients to determine the physical storage locations of VOBs and views they access. Note that register has no effect on the VOB or view tag registries. You can also use register to update an existing registry entry, or to re-register a VOB or view that was temporarily removed from service with unregister.
Other commands that affect registries
The mkview and mkvob commands add an entry to the appropriate registry; the rmview and rmvob commands remove registry entries. You can use the unregister command to remove an existing entry. The reformatvob command updates a VOB's object registry entry (or creates one, if necessary).
Options and arguments
View/VOB specification
Overwriting an existing entry
Specifying the location of the storage directory
Specifying network accessibility
- Default
- Values are derived from the view-storage-pname or vob-storage-pname arguments.
- –hos/t hostname, –hpa/th local-pname
- See the mkstgloc reference page for descriptions of how to use these options.
- To register a VOB or view that resides on a supported network-attached storage (NAS) device, you must specify the option set, –host –gpath. (NAS devices must be specially configured for use with ClearCase. For more information, see the Administrator's help.)
Examples
The UNIX system and Linux examples in this section are written for use in csh. If you use another shell, you might 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 might 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 system and Linux shells or Windows command interpreter prompt, followed by the cleartool command. In cleartool interactive mode, cmd-context represents the interactive cleartool prompt.
- On a UNIX or Linux system, register a VOB storage directory
that was previously unregistered with the unregister
–vob command.
cmd-context register –vob /vobstore/vob2.vbsfs