tags:

views:

235

answers:

1

I am trying to programatically determine if a VOB is mounted in clearcase. Specifically, I want to run a command and parse the output.

However, I can't seem to find this information in cleartool describe.

A: 
cleartool lsvob \theVob

should be enough

If there is a star (*): it is mounted

* \thevob

If there is not: it is not yet mounted.

See command lsvob.

:_

By default, lsvob lists all VOBs registered in the current network region, whether or not they are mounted (active).
The default output line can include up to six fields, as shown in this example:

* /vobs/src /net/host2/usr/vobstore/src_vob public (ucmvob, replicated)

The output fields report:

  • Whether the VOB is mounted (*)
  • The VOB tag
  • The VOB storage directory path name
  • Whether the VOB is public or private (see the mkvob reference page)
  • Whether the VOB is a UCM project VOB (ucmvob)
  • Whether the VOB is replicated (replicated)
VonC
spiffy! thanks!
Paul Nathan
Oof, you even get the easy ones. How's a guy meant to get any points round here :S
Spedge