Why does it take too much time to compare by content two hard links to the same data on disk? Can't it be checked before comparison whether compared files are hardlinks to each other?
If this check is implemented there would be an easy way to check whether the two files are hardlinks pointing to the same data. And no other programs would be needed.
What do you think? Is that easy to check?
[Req] Hardlinks & compare by content
Moderators: white, Hacker, petermad, Stefan2
- XPEHOPE3KA
- Power Member
- Posts: 854
- Joined: 2006-03-03, 18:23 UTC
- Location: Saint-Petersburg, Russia
- majkinetor !
- Power Member
- Posts: 1580
- Joined: 2006-01-18, 07:56 UTC
- Contact:
I don't think. I know. It is easy.
Also, this is special case. If I was the author, I wouldn't handle it also.
[EDIT]
But if I think a little bit more about this, I must say I am wrong.
Hard links are file system feature. As such it must be handled along with all other features, like alternate streams and such... TC apperently doesn't handle them all.
Also, this is special case. If I was the author, I wouldn't handle it also.
[EDIT]
But if I think a little bit more about this, I must say I am wrong.
Hard links are file system feature. As such it must be handled along with all other features, like alternate streams and such... TC apperently doesn't handle them all.
Last edited by majkinetor ! on 2006-07-04, 11:12 UTC, edited 1 time in total.
Habemus majkam!
- XPEHOPE3KA
- Power Member
- Posts: 854
- Joined: 2006-03-03, 18:23 UTC
- Location: Saint-Petersburg, Russia
Why wouldn't you handle it?
BTW, it's not such a special case.
An addition to request: if compared files are actually hardlinks pointing to the same data, then TC should say they are such hardlinks, not just say they are equal to each other.
BTW, it's not such a special case.
Code: Select all
Begin {Edit}
Ah, those editing race conditions :) ;
End; {Edit}