I encountered something that has me stumped.
We have several files that are identical in every respect (including their oid - so they're certainly not evil twins) but are located in two different directories. Looking at the element properties, they both contain the same pathname, but they can also be found in a second directory.
My first thought was that they (or one of their parent directories) must have a symlink between them. I used the following command in the root of the VOB to find them:
cleartool find . -kind slink -print
However, it returns no results.
Anyone know what's going on here?
Since in ClearCase the folders are in charge of recording the listing of their elements, do describe the parent folders of that duplicated files.
It is possible for two different folders to record the same file.
More precisely, check for an hardlink (not just a soft link 'slink')
Note that, when you use
find -all, only one instance of an element is reported, even if one or more VOB hard links point to the element. Either the element name or one of the VOB hard links is displayed.See more at "Identifying hard links within a VOB".