问题描述
如果我在一个vob中(pwd命令显示正确的vob),并且 lsvob< VOB_NAME>
返回有关该vob的一些信息,如何从根目录中获取所有目录的列表? setview
命令也已运行.
If I am in a vob (pwd command displays the correct vob) and lsvob <VOB_NAME>
returns some info about the vob, how can I get a list of all the directories from the root? The setview
command has also been run.
当我执行 ls
时,我得到:
Error: Pathname is not within a VOB: "."
推荐答案
cd /vobs/myvob
cleartool ls
# or
cleartool find . -type d -print
第一个列出视图中的所有元素.
另一个列出所有目录.
The first one lists all elements within the view.
The other one lists all the directories.
OP泡沫桩提到:
Mounting MVFS filesystem /vob/<MY_VOB>.... mount: Device busy
IBM页面"安装:设备繁忙"可以帮忙.
The IBM page "mount: Device busy" can help.
只要:
ct startview myDynamicView
ct setview myDynamicView
ct mount /vobs/MyVob
cd /vobs/MyVob
ct pwv
给予:
Working directory view: ** NONE **
Set view: <MY_VIEW_ID>
这不好,并且会指向错误的配置规范,因为IBM技术说明"访问ClearCase VOB的根文件夹将显示"没有这样的文件或目录
" ".
That is not good, and would point to a faulty config spec, as the IBM technote "Accessing a ClearCase VOB's root folder yields "No such file or directory
"" illustrates.
这篇关于cleartool中VOB根目录以外的目录列表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!