It's all about the answers!

Ask a question

Question about hard links on Linux


James Labrie (18123818) | asked Oct 06 '10, 4:57 a.m.
Hi,

I found following article in infocenter.

http://publib.boulder.ibm.com/infocenter/rtc/v2r0m0/index.jsp?topic=/com.ibm.team.connector.scm.cc.doc/topics/t_import_paths.html

----------------------------------------------------------------------------------------------------------------------
Restriction:
Unlike Rational ClearCase, Rational Team Concert source control does not support hard links.
If multiple hard links to the same file are encountered during an import,
only one link target (the final one encountered during the import) remains
in the synchronized stream after the import completes.

Note:
If you are using Rational Team Concert version 2.0.0.2 or later, symbolic links are supported.
The ClearCase Synchronizer and Importer create Jazz symbolic links for any ClearCase symbolic links that are imported.
Likewise, the Synchronizer creates ClearCase symbolic links for any Jazz symbolic links that are exported.
Symbolic links can only be loaded from a repository workspace on a platform that supports symbolic links.
----------------------------------------------------------------------------------------------------------------------


The article means hard links are not supported yet right?
And if we use hard links on RTC itself(we don't use ClearCase at all), what problems are considered to happen?


Regards
James

3 answers



permanent link
Geoffrey Clemm (30.1k33035) | answered Oct 06 '10, 1:41 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
If you put a file with multiple hard links under source control, I
predict that each hardlink'ed location will get its own (separate)
version-controlled file. But I'm currently running on a Windows box
that does not support hard links, so I can't verify that.

One interesting question is the behavior when you modify a file that is
hard-linked into multiple version-controlled folders. Does pending
changes show an "unresolved" file at both hardlink locations, or just
one? If only at one, what happens when you select the "refresh"
operation on the file that is not showing modifications.

Cheers,
Geoff

On 10/6/2010 5:08 AM, JamesLa wrote:
Hi,

I found following article in infocenter.

http://publib.boulder.ibm.com/infocenter/rtc/v2r0m0/index.jsp?topic=/com.ibm.team.connector.scm.cc.doc/topics/t_import_paths.html

----------------------------------------------------------------------------------------------------------------------
Restriction:
Unlike Rational ClearCase, Rational Team Concert source control does
not support hard links.
If multiple hard links to the same file are encountered during an
import,
only one link target (the final one encountered during the import)
remains
in the synchronized stream after the import completes.

Note:
If you are using Rational Team Concert version 2.0.0.2 or later,
symbolic links are supported.
The ClearCase Synchronizer and Importer create Jazz symbolic links for
any ClearCase symbolic links that are imported.
Likewise, the Synchronizer creates ClearCase symbolic links for any
Jazz symbolic links that are exported.
Symbolic links can only be loaded from a repository workspace on a
platform that supports symbolic links.
----------------------------------------------------------------------------------------------------------------------


The article means hard links are not supported yet right?
And if we use hard links on RTC itself(we don't use ClearCase at all),
what problems are considered to happen?


Regards
James

permanent link
James Labrie (18123818) | answered Oct 07 '10, 4:10 a.m.
Hi Geoff

Thank you for your answer.
I will try it.

And let me ask one more questoin(Just a curious).

On Windows client.
Is Windows short cut supported as well as symbolic links?
If you know about it, please let me know.


Regards
James


If you put a file with multiple hard links under source control, I
predict that each hardlink'ed location will get its own (separate)
version-controlled file. But I'm currently running on a Windows box
that does not support hard links, so I can't verify that.

One interesting question is the behavior when you modify a file that is
hard-linked into multiple version-controlled folders. Does pending
changes show an "unresolved" file at both hardlink locations, or just
one? If only at one, what happens when you select the "refresh"
operation on the file that is not showing modifications.

Cheers,
Geoff

On 10/6/2010 5:08 AM, JamesLa wrote:
Hi,

I found following article in infocenter.

http://publib.boulder.ibm.com/infocenter/rtc/v2r0m0/index.jsp?topic=/com.ibm.team.connector.scm.cc.doc/topics/t_import_paths.html

----------------------------------------------------------------------------------------------------------------------
Restriction:
Unlike Rational ClearCase, Rational Team Concert source control does
not support hard links.
If multiple hard links to the same file are encountered during an
import,
only one link target (the final one encountered during the import)
remains
in the synchronized stream after the import completes.

Note:
If you are using Rational Team Concert version 2.0.0.2 or later,
symbolic links are supported.
The ClearCase Synchronizer and Importer create Jazz symbolic links for
any ClearCase symbolic links that are imported.
Likewise, the Synchronizer creates ClearCase symbolic links for any
Jazz symbolic links that are exported.
Symbolic links can only be loaded from a repository workspace on a
platform that supports symbolic links.
----------------------------------------------------------------------------------------------------------------------


The article means hard links are not supported yet right?
And if we use hard links on RTC itself(we don't use ClearCase at all),
what problems are considered to happen?


Regards
James

permanent link
Geoffrey Clemm (30.1k33035) | answered Oct 07 '10, 4:27 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Windows shortcuts have no special semantics for RTC SCM ... they are
just considered to be a file that can be saved/restored.

So they "just work".

Cheers,
Geoff

On 10/7/2010 4:23 AM, JamesLa wrote:
Hi Geoff

Thank you for your answer.
I will try it.

And let me ask one more questoin(Just a curious).

On Windows client.
Is Windows short cut supported as well as symbolic links?
If you know about it, please let me know.


Regards
James


gmclemmwrote:
If you put a file with multiple hard links under source control, I
predict that each hardlink'ed location will get its own (separate)
version-controlled file. But I'm currently running on a Windows box

that does not support hard links, so I can't verify that.

One interesting question is the behavior when you modify a file that
is
hard-linked into multiple version-controlled folders. Does pending

changes show an "unresolved" file at both hardlink
locations, or just
one? If only at one, what happens when you select the
"refresh"
operation on the file that is not showing modifications.

Cheers,
Geoff

On 10/6/2010 5:08 AM, JamesLa wrote:
Hi,

I found following article in infocenter.


http://publib.boulder.ibm.com/infocenter/rtc/v2r0m0/index.jsp?topic=/com.ibm.team.connector.scm.cc.doc/topics/t_import_paths.html


----------------------------------------------------------------------------------------------------------------------
Restriction:
Unlike Rational ClearCase, Rational Team Concert source control
does
not support hard links.
If multiple hard links to the same file are encountered during an
import,
only one link target (the final one encountered during the import)
remains
in the synchronized stream after the import completes.

Note:
If you are using Rational Team Concert version 2.0.0.2 or later,
symbolic links are supported.
The ClearCase Synchronizer and Importer create Jazz symbolic links
for
any ClearCase symbolic links that are imported.
Likewise, the Synchronizer creates ClearCase symbolic links for any
Jazz symbolic links that are exported.
Symbolic links can only be loaded from a repository workspace on a
platform that supports symbolic links.

----------------------------------------------------------------------------------------------------------------------


The article means hard links are not supported yet right?
And if we use hard links on RTC itself(we don't use ClearCase at
all),
what problems are considered to happen?


Regards
James

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.