如何从Windows中的Clearcase动态视图中卸载不需要的VOB(大量VOB) [英] How to unmount unwanted VOBs ( large number of VOBs) from clearcase dynamic views in windows

查看:92
本文介绍了如何从Windows中的Clearcase动态视图中卸载不需要的VOB(大量VOB)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的项目使用clearcase8。我们有大约10个动态视图(流)。每个动态视图包含5个VOB。

My project uses clearcase 8. we have around 10 dynamic views ( streams ). Each dyanamic view contains 5 VOBs.

在Windows clearcase Explorer中导入这些动态视图之后,所有50个VOB都出现在每个动态视图下(尽管大多数不相关的视图) VOB只是在其中包含一个丢失的+找到的目录。)

After importing these dynamic views in windows clearcase explorer, all the 50 VOBs are appearing under each and every dynamic view ( though majority of the irrelevant VOBs contains just lost+found directory under it).

一旦我从相应的动态视图中手动卸载了所有不相关的VOB,但是在重新启动PC后,所有VOB再次出现在每个地方。

Once I have manually unmounted all of the irrelevant VOBs from the corresponding dynamic views but after a restart of my PC all the VOBs are appearing again every where.

我不想在每个动态视图中查看所有的50个VOB。

I don’t want to view all the 50 VOBs in each dynamic view.

此问题是否有解决方案?

Is there a solution for this issue ?

PS:-我不是透明的管理员/专家。

PS: - I am not a clearcase admin / expert.

请提出建议。

推荐答案

首先,您可以 cleartool umount 所有带有

Firstly, you can cleartool umount all vobs with

cleartool umount -all

第二,您可以挂载它们而不会使它们持续存在:

Secondly, you can mount them without making them persistent:

cleartool mount \aVob

通过GUI,它们通常被安装为持久的,就像您执行以下操作一样:

Through the GUI, they are generally mounted as "persistent", like if you did:

cleartool mount -persistent \aVob

这表示它们已记录在Windows注册表中,并且可以在下一个Windows会话中自动重新安装。

如果通过脚本安装它们,而没有 -persistent 选项,则不会有问题。

That means they are recorded in the Windows registry, in oprder to be mounted again automatically at the next Windows session.
If you mount them through a script, without the -persistent option, you won't have that problem.

Fin盟友,请注意,如果您的动态视图之一需要一个VOB,那么就需要安装它(显然)。

但是,该同一个VOB将在您的 all 上可见动态视图(即使其他视图配置规范未选择该视图中的任何版本,也将至少挂载它)。

Finally, know that if one of your dynamic view need a vob, then you need to mount it (obviously).
But that same vob will then be visible on all your dynamic views (it will be mounted at least, even if no version in it is selected by the other views config spec).

要解决此问题,您可以添加另一个动态视图,没有看到特殊的VOB:

To resolve that, you can add in another dynamic view which shouldn't see a particual vob:

element /aVob/... -none

(您可以使用 / 而不是 \ 在配置规范中,甚至在Windows中也是如此)。

(you can use '/' and not '\' in a config spec, even in Windows)

这将使该vob在该动态视图中不可见,同时仍可以挂载并且可用于需要它的第一个动态视图。

That will make that vob invisible for that dynamic view, while still being mounted and available for the first dynamic view which needs it.

这篇关于如何从Windows中的Clearcase动态视图中卸载不需要的VOB(大量VOB)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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