rmvob

Removes a VOB storage directory

APPLICABILITY

ClearCase (cleartool subcommand), Attache (command)

SYNOPSIS

rmvob [ -f·orce ] vob-storage-dir-pname ...

DESCRIPTION

The rmvob command deletes one or more VOB storage directories. Confirmation for each VOB is required, unless you use the -force option.

In addition to removing the VOB storage directory, rmvob removes all relevant entries from the network's VOB registry. However, rmvob does not unmount the VOBs. Before removing a VOB storage area:

  1. Inform users that you are going to unmount the VOB and stop ClearCase on the host.
  2. Unmount the VOB with the umount command.
  3. Stop and restart ClearCase (use the ClearCase Control Panel) on the VOB storage host.

CAUTION: Be sure that the current working directory is not within the VOB storage area that you are deleting.

NOTE: If you remove a VOB storage area with standard Windows commands, you must unregister the VOB with the rmtag and unregister commands.

REMOVING REPLICATED VOBS

To remove a replicated VOB, you must follow the procedure in the chapter Removing Replicas in ClearCase MultiSite Manual. rmvob fails if the VOB replica masters any objects, unless you specify the -force option.

PERMISSIONS AND LOCKS

Permissions Checking: For each object processed, you must be one of the following: VOB owner, member of the ClearCase group. See the permissions reference page.

Locks: No locks apply.

OPTIONS AND ARGUMENTS

-f·orce

Suppresses the confirmation step. If the VOB is replicated, this option allows rmvob to remove the VOB storage directory even if the replica masters any objects.
vob-storage-dir-pname ...

The pathnames of one or more VOB storage directories to be removed.

EXAMPLES

Examples including 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 command interpreter prompt. In cleartool interactive mode, cmd-context represents the interactive cleartool prompt. In Attache, cmd-context represents the workspace prompt.

cmd-context umount \project
cmd-context rmvob c:\users\vbstore\project.vbs
Remove versioned object base "c:\users\vbstore\project.vbs"? [no] yes
Removed versioned object base "c:\users\vbstore\project.vbs".

SEE ALSO

mkvob, registry_ccase, umount



Feedback on the documentation in this site? We welcome any comments!
Copyright © 1999 by Rational Software Corporation. All rights reserved.