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: "."
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.