以编程方式确定给定的VOB是否已安装在ClearCase中 [英] Programatically determine if a given VOB is mounted in ClearCase

查看:70
本文介绍了以编程方式确定给定的VOB是否已安装在ClearCase中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图以编程方式确定VOB是否以明文形式安装。
具体来说,我想运行命令并解析输出。

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

但是,我似乎在中找不到此信息cleartool描述

推荐答案

cleartool lsvob \theVob

应该足够

如果有星星( * ):已安装

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

* \thevob

如果没有:尚未安装。

请参见命令lsvob

:_

默认情况下, 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:


  • 是否已安装VOB(*)

  • VOB标签

  • VOB存储目录路径名

  • VOB是公共的还是私有的(请参见 mkvob 参考页

  • VOB是否为UCM项目VOB( ucmvob

  • 是否复制了VOB(重复糖化

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

这篇关于以编程方式确定给定的VOB是否已安装在ClearCase中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆