Creates an entry in the VOB or view object registry.
Product | Command Type |
---|---|
ClearCase | cleartool subcommand |
ClearCase LT | cleartool subcommand |
Attache | command |
Platform |
---|
UNIX |
Windows |
ClearCase and Attache-Register a view:
ClearCase and Attache-Register a VOB:
ClearCase LT-Register a view:
ClearCase LT-Register a VOB:
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.
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).
VIEW/VOB SPECIFICATION. Default: None.
OVERWRITING AN EXISTING ENTRY. Default: An error occurs if the view or VOB storage directory already has an entry in the registry.
SPECIFYING THE LOCATION OF THE STORAGE DIRECTORY. Default: None.
SPECIFYING NETWORK ACCESSIBILITY. Default: Values are derived from the view-storage-pname or vob-storage-pname arguments.
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.
Register a VOB storage directory that was previously unregistered with the unregister -vob command.
cmd-context register -vob /vobstore/vob2.vbsfs
Register a view storage directory.
cmd-context register -view -host host2 -hpath C:\vw_store\view3.vws ^
-gpath \\host2\vw_store\view3.vws \\host2\vw_store\view3.vws
Replace the existing registry entry for a VOB storage directory, explicitly specifying the access path information.
cmd-context register -vob -replace -host corona -hpath /vobstg/tests.vbs \
-gpath /net/corona/vobstg/test.vbs /vobstg/test.vbs
mktag, mkview, mkvob, mount, umount, unregister
Feedback on the documentation in this site? We welcome any comments!
Copyright © 2001 by Rational Software Corporation. All rights reserved. |