List of directories off of the root of VOB in cleartool

爱⌒轻易说出口 提交于 2019-12-10 11:46:56

问题


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.

When I do ls, I get:

Error: Pathname is not within a VOB: "."

回答1:


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.


The OP foampile mentions:

cleartool mount /vob/<MY_VOB>
i tried that but got:

Mounting MVFS filesystem /vob/<MY_VOB>.... mount: Device busy

The IBM page "mount: Device busy" can help.

As long as:

ct startview myDynamicView
ct setview myDynamicView
ct mount /vobs/MyVob
cd /vobs/MyVob
ct pwv

gives:

Working directory view: ** NONE ** 
Set view: <MY_VIEW_ID>

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.



来源:https://stackoverflow.com/questions/13794088/list-of-directories-off-of-the-root-of-vob-in-cleartool

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!