Unpacking & overwriting files with internal unRAR (and unACE) destroys the hardlinks of the target files.
Hardlink OK after overwriting:
OK: normal copying in TC
OK: ARJ (2.41)
OK: LZH (LHA 2.13)
OK: TAR (TC internal)
OK: TGZ (TC internal)
OK: UC2 (TC internal)
OK: ZIP (TC internal)
Hardlink is gone, resulting in seperate files:
fail: RAR (WinRar 3.62; external unpacker OK)
fail: ACE (WinAce 2.61; external unpacker fails, too)
ACE: WinAce itself (2.61 and 2.0) also destroys hardlinks. I reported this at winace.de .
RAR: Workaround: Switching off [ ] use internal un-RAR if possible solves the problem so far (leaves the hardlink intact).
I would very much appreciate hardlink-compatible behaviour also on TC-internal unpacking of RAR archives.
Hardlinks destroyed by internal unRAR
Moderators: Hacker, petermad, Stefan2, white
Hardlinks destroyed by internal unRAR
Who the hell is General Failure, and why is he reading my disk?
-- TC starter menu: Fast yet descriptive command access!
-- TC starter menu: Fast yet descriptive command access!
- ghisler(Author)
- Site Admin
- Posts: 50475
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
As I remember, the unrar.dll function RARProcessFile does not overwrite already existing files, so TC calls DeleteFile before calling RARProcessFile with the extract parameter. The other packers work differently: They open the target file if it exists, and then write to it. So unfortunately I cannot change this behaviour of internal unrar, sorry.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com