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
.
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
.
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
)